sctp: fix ignoring asoc_id for tcp-style sockets on SCTP_MAX_BURST sockopt
authorXin Long <lucien.xin@gmail.com>
Mon, 18 Mar 2019 12:06:03 +0000 (20:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 01:31:09 +0000 (18:31 -0700)
commit746bc215a6b223caf7eb6b33400458c15e742920
tree2d24c5670a44cebb97b4cc0fd9dae9cbff7b90f1
parentcface2cb585e392995cc11a4a814b433e6099ec7
sctp: fix ignoring asoc_id for tcp-style sockets on SCTP_MAX_BURST sockopt

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

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