]> git.baikalelectronics.ru Git - kernel.git/commit
macvtap: segmented packet is consumed
authorEric Dumazet <edumazet@google.com>
Fri, 6 May 2016 12:58:21 +0000 (05:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2016 03:43:44 +0000 (23:43 -0400)
commit8a93c730cdd0635f5bfc6e5dac398aaa888dc8a0
treefd236e0766625e6cf4e1fc41fd74b0d1151b50a4
parent5b17985682ce3af5bcd0b67095cdae6d14da1160
macvtap: segmented packet is consumed

If GSO packet is segmented and its segments are properly queued,
we call consume_skb() instead of kfree_skb() to be drop monitor
friendly.

Fixes: 92e2a0847ea82 ("macvtap: Perform GSO on forwarding path.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Vlad Yasevich <vyasevic@redhat.com>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c