summaryrefslogtreecommitdiffstats
path: root/net/sctp/input.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-04-14 09:35:30 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-15 23:29:35 +0200
commit52c52a61a39fb319c14a582f8631619e5d5f55bf (patch)
tree47a2098e8b3f1e7e3c0bb7f5108a4ef42e8fbee6 /net/sctp/input.c
parentsctp: simplify sk_receive_queue locking (diff)
downloadlinux-52c52a61a39fb319c14a582f8631619e5d5f55bf.tar.xz
linux-52c52a61a39fb319c14a582f8631619e5d5f55bf.zip
sctp: add sctp_info dump api for sctp_diag
sctp_diag will dump some important details of sctp's assoc or ep, we use sctp_info to describe them, sctp_get_sctp_info to get them, and export it to sctp_diag.ko. v2->v3: - we will not use list_for_each_safe in sctp_get_sctp_info, cause all the callers of it will use lock_sock. - fix the holes in struct sctp_info with __reserved* field. because sctp_diag is a new feature, and sctp_info is just for now, it may be changed in the future. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/input.c')
0 files changed, 0 insertions, 0 deletions