summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorNikolay Aleksandrov2015-11-20 13:54:20 +0100
committerDavid S. Miller2015-11-23 02:44:47 +0100
commit4c6980462f32b4f282c5d8e5f7ea8070e2937725 (patch)
tree086472cac5b8c2221443ed535d641ff6ca288481 /drivers/net/ethernet/freescale
parentnet: ipmr: fix static mfc/dev leaks on table destruction (diff)
downloadkernel-qcow2-linux-4c6980462f32b4f282c5d8e5f7ea8070e2937725.tar.gz
kernel-qcow2-linux-4c6980462f32b4f282c5d8e5f7ea8070e2937725.tar.xz
kernel-qcow2-linux-4c6980462f32b4f282c5d8e5f7ea8070e2937725.zip
net: ip6mr: fix static mfc/dev leaks on table destruction
Similar to ipv4, when destroying an mrt table the static mfc entries and the static devices are kept, which leads to devices that can never be destroyed (because of refcnt taken) and leaked memory. Make sure that everything is cleaned up on netns destruction. Fixes: 8229efdaef1e ("netns: ip6mr: enable namespace support in ipv6 multicast forwarding code") CC: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Reviewed-by: Cong Wang <cwang@twopensource.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions