diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-12-15 00:41:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-15 13:52:22 -0500 |
commit | 107e242569541795a84264f94375e987ba04d309 (patch) | |
tree | 4ca6c3b9c5ff637a5438196fb86666ac469188e7 /net/tipc/sysctl.c | |
parent | ef4775e3402b7d45b06dddd79f860a5c4d5fc1cf (diff) | |
download | linux-107e242569541795a84264f94375e987ba04d309.tar.gz linux-107e242569541795a84264f94375e987ba04d309.tar.xz |
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/tipc/sysctl.c')
0 files changed, 0 insertions, 0 deletions