sctp: add intl_capable and reconf_capable in ss peer_capable
authorXin Long <lucien.xin@gmail.com>
Fri, 14 Apr 2023 21:21:16 +0000 (17:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2023 07:28:21 +0000 (08:28 +0100)
commitab4f1e28c941b2554456bfe091db0caf25c33044
tree06ea84b9ea59647e420c89c9a8b2400110e8d998
parentbd4b28189469492df2b962d737842c311ce2659c
sctp: add intl_capable and reconf_capable in ss peer_capable

There are two new peer capables have been added since sctp_diag was
introduced into SCTP. When dumping the peer capables, these two new
peer capables should also be included. To not break the old capables,
reconf_capable takes the old hostname_address bit, and intl_capable
uses the higher available bit in sctpi_peer_capable.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c