xen-netfront: be more drop monitor friendly
authorEric Dumazet <edumazet@google.com>
Wed, 30 Aug 2017 17:32:58 +0000 (10:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 22:56:16 +0000 (15:56 -0700)
commit62f3250f3d18ea7d4b4e51ac98cdca29515683a5
tree3478c44d186ddd3424ec6ec59634ee0c925e380e
parent90774a93ef075b39e55d31fe56fc286d71a046ac
xen-netfront: be more drop monitor friendly

xennet_start_xmit() might copy skb with inappropriate layout
into a fresh one.

Old skb is freed, and at this point it is not a drop, but
a consume. New skb will then be either consumed or dropped.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c