]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 5 Nov 2014 09:03:20 +0000 (10:03 +0100)
commitef0444ff81e4aa1580725d7f485a38760e799b22
tree1421a4064adc3c6c62fa50c7092e28fad509d0e1
parentbc9b1233fe48f27c2325de5ccc584c4b2a0ce12c
vxlan: fix a use after free in vxlan_encap_bypass

[ Upstream commit ce6502a8f9572179f044a4d62667c4645256d6e4 ]

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