android_kernel_google_msm/net/8021q
Li RongQing d7f54732a3 8021q: fix a potential memory leak
[ Upstream commit 916c1689a0 ]

skb_cow called in vlan_reorder_header does not free the skb when it failed,
and vlan_reorder_header returns NULL to reset original skb when it is called
in vlan_untag, lead to a memory leak.

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-28 07:06:45 -07:00
..
Kconfig
Makefile
vlan.c 8021q: fix a potential use-after-free 2013-04-05 10:04:38 -07:00
vlan.h
vlan_core.c 8021q: fix a potential memory leak 2014-07-28 07:06:45 -07:00
vlan_dev.c vlan: Set correct source MAC address with TX VLAN offload enabled 2014-04-26 17:13:16 -07:00
vlan_gvrp.c
vlan_netlink.c net: vlan: fix nlmsg size calculation in vlan_get_size() 2013-11-04 04:23:40 -08:00
vlanproc.c
vlanproc.h