[NETNS]: Consolidate kernel netlink socket destruction.
Create a specific helper for netlink kernel socket disposal. This just let the code look better and provides a ground for proper disposal inside a namespace. 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>
Showing
- drivers/connector/connector.c 3 additions, 6 deletionsdrivers/connector/connector.c
- drivers/scsi/scsi_netlink.c 1 addition, 1 deletiondrivers/scsi/scsi_netlink.c
- drivers/scsi/scsi_transport_iscsi.c 2 additions, 2 deletionsdrivers/scsi/scsi_transport_iscsi.c
- fs/ecryptfs/netlink.c 1 addition, 2 deletionsfs/ecryptfs/netlink.c
- include/linux/netlink.h 1 addition, 0 deletionsinclude/linux/netlink.h
- net/bridge/netfilter/ebt_ulog.c 2 additions, 2 deletionsnet/bridge/netfilter/ebt_ulog.c
- net/core/rtnetlink.c 1 addition, 1 deletionnet/core/rtnetlink.c
- net/decnet/netfilter/dn_rtmsg.c 2 additions, 2 deletionsnet/decnet/netfilter/dn_rtmsg.c
- net/ipv4/fib_frontend.c 1 addition, 1 deletionnet/ipv4/fib_frontend.c
- net/ipv4/inet_diag.c 1 addition, 1 deletionnet/ipv4/inet_diag.c
- net/ipv4/netfilter/ip_queue.c 2 additions, 2 deletionsnet/ipv4/netfilter/ip_queue.c
- net/ipv4/netfilter/ipt_ULOG.c 2 additions, 2 deletionsnet/ipv4/netfilter/ipt_ULOG.c
- net/ipv6/netfilter/ip6_queue.c 2 additions, 2 deletionsnet/ipv6/netfilter/ip6_queue.c
- net/netfilter/nfnetlink.c 1 addition, 1 deletionnet/netfilter/nfnetlink.c
- net/netlink/af_netlink.c 11 additions, 0 deletionsnet/netlink/af_netlink.c
- net/xfrm/xfrm_user.c 1 addition, 1 deletionnet/xfrm/xfrm_user.c
Loading
Please register or sign in to comment