commit | 981a1bd85a959bb3b44e07c212ebc61c62ad7cf9 | [log] [tgz] |
---|---|---|
author | Vitaly Kuznetsov <vkuznets@redhat.com> | Wed Apr 08 17:54:05 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 08 12:27:25 2015 -0400 |
tree | c7ca1f328dd70aad3fc5c80922d70c650c06b193 | |
parent | 8ae178fb1ce0428d1a22c36c8493bda4807ad3b8 [diff] |
hv_netvsc: use single existing drop path in netvsc_start_xmit ... which validly uses dev_kfree_skb_any() instead of dev_kfree_skb(). Setting ret to -EFAULT and -ENOMEM have no real meaning here (we need to set it to anything but -EAGAIN) as we drop the packet and return NETDEV_TX_OK anyway. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>