diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2014-06-18 13:46:02 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-21 15:12:13 -0700 |
commit | 916c1689a09bc1ca81f2d7a34876f8d35aadd11b (patch) | |
tree | 090abcbf5857c8c9670d58555a505bcb32ce73d1 /net/mac80211 | |
parent | 1b0608fd9b40c7ef0ff01c05449ad3bbdbe461a1 (diff) | |
download | op-kernel-dev-916c1689a09bc1ca81f2d7a34876f8d35aadd11b.zip op-kernel-dev-916c1689a09bc1ca81f2d7a34876f8d35aadd11b.tar.gz |
8021q: fix a potential memory leak
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>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions