diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-18 23:53:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:08:05 -0800 |
commit | 869e58f87094b1e8a0df49232e4a5172678d46c9 (patch) | |
tree | 9ac2dc45be284ac66099e3e71b16a03fb5c21b8d /net/irda/irnetlink.c | |
parent | 7d460db953d6d205e4c8ecc2017aea1ec22b6c9a (diff) | |
download | linux-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