sctp: fix ignoring asoc_id for tcp-style sockets on SCTP_DELAYED_SACK sockopt
authorXin Long <lucien.xin@gmail.com>
Mon, 18 Mar 2019 12:06:00 +0000 (20:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 01:31:08 +0000 (18:31 -0700)
commit8e2614fc1c2a525d3244df65da486fc914a2bf78
tree658ad63276815eaab6b26c20d36f525474d9577f
parent1354e72fabf4d8763817564648984351755f0ccb
sctp: fix ignoring asoc_id for tcp-style sockets on SCTP_DELAYED_SACK sockopt

A similar fix as Patch "sctp: fix ignoring asoc_id for tcp-style sockets on
SCTP_DEFAULT_SEND_PARAM sockopt" on SCTP_DELAYED_SACK sockopt.

Fixes: 9c5829e1c49e ("sctp: use SCTP_FUTURE_ASSOC and add SCTP_CURRENT_ASSOC for SCTP_DELAYED_SACK sockopt")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c