sctp: Make the proc files per network namespace.
- Convert all of the files under /proc/net/sctp to be per network namespace. - Don't print anything for /proc/net/sctp/snmp except in the initial network namespaces as the snmp counters still have to be converted to be per network namespace. 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/netns/sctp.h 5 additions, 0 deletionsinclude/net/netns/sctp.h
- include/net/sctp/sctp.h 12 additions, 13 deletionsinclude/net/sctp/sctp.h
- net/sctp/objcnt.c 4 additions, 4 deletionsnet/sctp/objcnt.c
- net/sctp/proc.c 39 additions, 20 deletionsnet/sctp/proc.c
- net/sctp/protocol.c 38 additions, 49 deletionsnet/sctp/protocol.c
Loading
Please register or sign in to comment