aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amazon
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-11-18 21:59:49 +0800
committerDavid S. Miller <davem@davemloft.net>2018-11-19 14:46:32 -0800
commite1e46479847e66f78f79d8c24d5169a5954b3fc2 (patch)
tree0a0a8900d09437cbaabe97c77100b29a7cc52bd9 /drivers/net/ethernet/amazon
parentRevert "sctp: remove sctp_transport_pmtu_check" (diff)
downloadlinux-dev-e1e46479847e66f78f79d8c24d5169a5954b3fc2.tar.xz
linux-dev-e1e46479847e66f78f79d8c24d5169a5954b3fc2.zip
sctp: not increase stream's incnt before sending addstrm_in request
Different from processing the addstrm_out request, The receiver handles an addstrm_in request by sending back an addstrm_out request to the sender who will increase its stream's in and incnt later. Now stream->incnt has been increased since it sent out the addstrm_in request in sctp_send_add_streams(), with the wrong stream->incnt will even cause crash when copying stream info from the old stream's in to the new one's in sctp_process_strreset_addstrm_out(). This patch is to fix it by simply removing the stream->incnt change from sctp_send_add_streams(). Fixes: 242bd2d519d7 ("sctp: implement sender-side procedures for Add Incoming/Outgoing Streams Request Parameter") Reported-by: Jianwen Ji <jiji@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amazon')
0 files changed, 0 insertions, 0 deletions