sctp: Make the address lists per network namespace
- Move the address lists into struct net - Add per network namespace initialization and cleanup - Pass around struct net so it is everywhere I need it. - Rename all of the global variable references into references to the variables moved into struct net Signed-off-by:"Eric W. Biederman" <ebiederm@xmission.com> Acked-by:
Vlad Yasevich <vyasevich@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/net_namespace.h 4 additions, 0 deletionsinclude/net/net_namespace.h
- include/net/netns/sctp.h 21 additions, 0 deletionsinclude/net/netns/sctp.h
- include/net/sctp/sctp.h 2 additions, 2 deletionsinclude/net/sctp/sctp.h
- include/net/sctp/structs.h 1 addition, 21 deletionsinclude/net/sctp/structs.h
- net/sctp/associola.c 2 additions, 1 deletionnet/sctp/associola.c
- net/sctp/bind_addr.c 7 additions, 7 deletionsnet/sctp/bind_addr.c
- net/sctp/ipv6.c 9 additions, 8 deletionsnet/sctp/ipv6.c
- net/sctp/protocol.c 82 additions, 61 deletionsnet/sctp/protocol.c
- net/sctp/socket.c 4 additions, 3 deletionsnet/sctp/socket.c
Loading
Please register or sign in to comment