]> 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)
commit187aa3705c364ec56fd2ce5ee36613781cf04b96
treea202461eca26813b11236fdb5f8353922504fa89
parent2d22afa4743e182e88bfca7d3afc5916c98aac60
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