vxlan: fix a use after free in vxlan_encap_bypass
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 16 Oct 2014 00:49:41 +0000 (08:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Oct 2014 03:30:28 +0000 (23:30 -0400)
commitce6502a8f9572179f044a4d62667c4645256d6e4
treea202461eca26813b11236fdb5f8353922504fa89
parent4e8febd0a76333875636859e0092a14c1fba49e4
vxlan: fix a use after free in vxlan_encap_bypass

when netif_rx() is done, the netif_rx handled skb maybe be freed,
and should not be used.

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c