summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2018-10-15 19:00:31 +0800
committerDavid S. Miller <davem@davemloft.net>2018-10-15 22:53:52 -0700
commit1a3aea2534f4f3083f29b2b047aa83a9d6c777a4 (patch)
treea4a0f43e10e005cb9befae798f8f61da77c70108 /include
parentbc0e7cf43370a8e229224623f516c9b0396e08b9 (diff)
downloadlinux-rpi-1a3aea2534f4f3083f29b2b047aa83a9d6c777a4.tar.gz
linux-rpi-1a3aea2534f4f3083f29b2b047aa83a9d6c777a4.tar.bz2
linux-rpi-1a3aea2534f4f3083f29b2b047aa83a9d6c777a4.zip
net: bridge: fix a possible memory leak in __vlan_add
After per-port vlan stats, vlan stats should be released when fail to add vlan Fixes: 9163a0fc1f0c0 ("net: bridge: add support for per-port vlan stats") CC: bridge@lists.linux-foundation.org cc: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> CC: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: Zhang Yu <zhangyu31@baidu.com> Signed-off-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions