WSL2-Linux-Kernel/net/sctp
Xin Long 40eb90e9cc sctp: sctp_diag should dump sctp socket type
Now we cannot distinguish that one sk is a udp or sctp style when
we use ss to dump sctp_info. it's necessary to dump it as well.

For sctp_diag, ss support is not officially available, thus there
are no official users of this yet, so we can add this field in the
middle of sctp_info without breaking user API.

v1->v2:
  - move 'sctpi_s_type' field to the end of struct sctp_info, so
    that it won't cause incompatibility with applications already
    built.
  - add __reserved3 in sctp_info to make sure sctp_info is 8-byte
    alignment.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-31 11:59:06 -07:00
..
Kconfig sctp: add the sctp_diag.c file 2016-04-15 17:29:36 -04:00
Makefile sctp: add the sctp_diag.c file 2016-04-15 17:29:36 -04:00
associola.c
auth.c
bind_addr.c
chunk.c net: snmp: kill various STATS_USER() helpers 2016-04-27 22:48:22 -04:00
debug.c
endpointola.c
input.c net: rename NET_{ADD|INC}_STATS_BH() 2016-04-27 22:48:24 -04:00
inqueue.c sctp: prepare for socket backlog behavior change 2016-05-02 17:02:26 -04:00
ipv6.c net: rename ICMP6_INC_STATS_BH() 2016-04-27 22:48:24 -04:00
objcnt.c
output.c sctp: flush if we can't fit another DATA chunk 2016-04-05 15:39:44 -04:00
outqueue.c sctp: avoid refreshing heartbeat timer too often 2016-04-10 22:22:34 -04:00
primitive.c
probe.c
proc.c sctp: fix some rhashtable functions using in sctp proc/diag 2016-04-15 17:29:37 -04:00
protocol.c
sctp_diag.c sctp: fix double EPs display in sctp_diag 2016-05-25 22:14:31 -07:00
sm_make_chunk.c sctp: avoid refreshing heartbeat timer too often 2016-04-10 22:22:34 -04:00
sm_sideeffect.c sctp: signal sk_data_ready earlier on data chunks reception 2016-05-01 21:06:10 -04:00
sm_statefuns.c
sm_statetable.c
socket.c sctp: sctp_diag should dump sctp socket type 2016-05-31 11:59:06 -07:00
ssnmap.c
sysctl.c
transport.c sctp: avoid refreshing heartbeat timer too often 2016-04-10 22:22:34 -04:00
tsnmap.c
ulpevent.c
ulpqueue.c sctp: signal sk_data_ready earlier on data chunks reception 2016-05-01 21:06:10 -04:00