]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 18:10:20 +0000 (10:10 -0800)
commit3337a0d755009b121be43cde4d523eb60c9306c3
tree81de782b3dd9002bc2998967ca9422efab668f3a
parentb54811e60b95ef4c477f9f9e27de65aedbc3db86
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/vxlan.c