sctp: add transport state in /proc/net/sctp/remaddr
authorMichele Baldessari <michele@acksyn.org>
Thu, 30 Oct 2014 09:29:15 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 23:40:16 +0000 (19:40 -0400)
commit891310d53dcf396d6a92987da265a5ffe6c09d71
tree2f41b3970a74b490d8cfa75e3271d35dc4667438
parentb2ad5e5fcc7d2385ac7dcf0617a4b22f52245086
sctp: add transport state in /proc/net/sctp/remaddr

It is often quite helpful to be able to know the state of a transport
outside of the application itself (for troubleshooting purposes or for
monitoring purposes). Add it under /proc/net/sctp/remaddr.

Signed-off-by: Michele Baldessari <michele@acksyn.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/proc.c