]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add SCTP_FUTURE_ASSOC for SCTP_PEER_ADDR_THLDS sockopt
authorXin Long <lucien.xin@gmail.com>
Mon, 28 Jan 2019 07:08:29 +0000 (15:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 08:44:06 +0000 (00:44 -0800)
commitba4662b8002b3c3606ae505c0c5c0192125f4e81
tree5be0430f4ac1b07c34de4204237ce61b2ef35412
parent89113f33f18d823f101abca95435462c9cf7b854
sctp: add SCTP_FUTURE_ASSOC for SCTP_PEER_ADDR_THLDS sockopt

Check with SCTP_FUTURE_ASSOC instead in
sctp_set/getsockopt_paddr_thresholds, it's compatible with 0.

It also adds pf_retrans in sctp_sock to support SCTP_FUTURE_ASSOC.

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