https://github.com/torvalds/linux
Revision 3ab2137915aea0ce7b3ec02e0f260ecc0f1c289d authored by Xin Long on 23 May 2017, 05:28:54 UTC, committed by David S. Miller on 24 May 2017, 19:21:04 UTC
Since commit 3dbcc105d556 ("sctp: alloc stream info when initializing
asoc"), stream and stream.out info are always alloced when creating
an asoc.

So it's not correct to check !asoc->stream before updating stream
info when processing dupcookie, but would be better to check asoc
state instead.

Fixes: 3dbcc105d556 ("sctp: alloc stream info when initializing asoc")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 12e8b57
History
Tip revision: 3ab2137915aea0ce7b3ec02e0f260ecc0f1c289d authored by Xin Long on 23 May 2017, 05:28:54 UTC
sctp: fix stream update when processing dupcookie
Tip revision: 3ab2137
File Mode Size
cache-policies.txt -rw-r--r-- 4.5 KB
cache.txt -rw-r--r-- 12.6 KB
delay.txt -rw-r--r-- 724 bytes
dm-crypt.txt -rw-r--r-- 6.0 KB
dm-flakey.txt -rw-r--r-- 1.9 KB
dm-integrity.txt -rw-r--r-- 8.5 KB
dm-io.txt -rw-r--r-- 3.2 KB
dm-log.txt -rw-r--r-- 2.3 KB
dm-queue-length.txt -rw-r--r-- 1.2 KB
dm-raid.txt -rw-r--r-- 15.6 KB
dm-service-time.txt -rw-r--r-- 3.2 KB
dm-uevent.txt -rw-r--r-- 2.6 KB
era.txt -rw-r--r-- 3.1 KB
kcopyd.txt -rw-r--r-- 1.9 KB
linear.txt -rw-r--r-- 1.4 KB
log-writes.txt -rw-r--r-- 4.7 KB
persistent-data.txt -rw-r--r-- 2.9 KB
snapshot.txt -rw-r--r-- 6.7 KB
statistics.txt -rw-r--r-- 7.5 KB
striped.txt -rw-r--r-- 1.8 KB
switch.txt -rw-r--r-- 5.4 KB
thin-provisioning.txt -rw-r--r-- 14.3 KB
verity.txt -rw-r--r-- 7.9 KB
zero.txt -rw-r--r-- 1.6 KB

back to top