summaryrefslogtreecommitdiffstats
path: root/net/irda/irnetlink.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-18 23:53:31 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:08:05 -0800
commit869e58f87094b1e8a0df49232e4a5172678d46c9 (patch)
tree9ac2dc45be284ac66099e3e71b16a03fb5c21b8d /net/irda/irnetlink.c
parent7d460db953d6d205e4c8ecc2017aea1ec22b6c9a (diff)
downloadlinux-869e58f87094b1e8a0df49232e4a5172678d46c9.tar.bz2
[NETNS]: Double free in netlink_release.
Netlink protocol table is global for all namespaces. Some netlink protocols have been virtualized, i.e. they have per/namespace netlink socket. This difference can easily lead to double free if more than 1 namespace is started. Count the number of kernel netlink sockets to track that this table is not used any more. Signed-off-by: Denis V. Lunev <den@openvz.org> Tested-by: Alexey Dobriyan <adobriyan@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irnetlink.c')
0 files changed, 0 insertions, 0 deletions