summaryrefslogtreecommitdiff
path: root/net/sctp/debug.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-12-15 00:41:31 +0800
committerDavid S. Miller <davem@davemloft.net>2017-12-15 13:52:22 -0500
commit107e242569541795a84264f94375e987ba04d309 (patch)
tree4ca6c3b9c5ff637a5438196fb86666ac469188e7 /net/sctp/debug.c
parentef4775e3402b7d45b06dddd79f860a5c4d5fc1cf (diff)
sctp: update mid instead of ssn when doing stream and asoc reset
When using idata and doing stream and asoc reset, setting ssn with 0 could only clear the 1st 16 bits of mid. So to make this work for both data and idata, it sets mid with 0 instead of ssn, and also mid_uo for unordered idata also need to be cleared, as said in section 2.3.2 of RFC8260. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/debug.c')
0 files changed, 0 insertions, 0 deletions