]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa9e8d79aeeec5e1a86e9114230c60622ea5cfcb
treea202461eca26813b11236fdb5f8353922504fa89
parenta72519b0ca07472fb17a4d02d9c2db8223de497e
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