[NETNS]: Inet control socket should not hold a namespace.
This is a generic requirement, so make inet_ctl_sock_create namespace aware and create a inet_ctl_sock_destroy wrapper around sk_release_kernel. Signed-off-by:Denis V. Lunev <den@openvz.org> Acked-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_common.h 7 additions, 1 deletioninclude/net/inet_common.h
- net/dccp/ipv4.c 2 additions, 2 deletionsnet/dccp/ipv4.c
- net/dccp/ipv6.c 2 additions, 2 deletionsnet/dccp/ipv6.c
- net/ipv4/af_inet.c 4 additions, 1 deletionnet/ipv4/af_inet.c
- net/ipv4/tcp_ipv4.c 1 addition, 1 deletionnet/ipv4/tcp_ipv4.c
- net/ipv6/tcp_ipv6.c 3 additions, 11 deletionsnet/ipv6/tcp_ipv6.c
- net/sctp/protocol.c 3 additions, 3 deletionsnet/sctp/protocol.c
Loading
Please register or sign in to comment