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
i386
x86_64
00-INDEX -rw-r--r-- 643 bytes
boot.txt -rw-r--r-- 38.7 KB
early-microcode.txt -rw-r--r-- 2.4 KB
earlyprintk.txt -rw-r--r-- 5.7 KB
entry_64.txt -rw-r--r-- 4.1 KB
exception-tables.txt -rw-r--r-- 13.0 KB
intel_mpx.txt -rw-r--r-- 10.9 KB
intel_rdt_ui.txt -rw-r--r-- 13.2 KB
kernel-stacks -rw-r--r-- 6.1 KB
mtrr.txt -rw-r--r-- 11.6 KB
pat.txt -rw-r--r-- 11.1 KB
protection-keys.txt -rw-r--r-- 3.1 KB
tlb.txt -rw-r--r-- 3.6 KB
topology.txt -rw-r--r-- 6.7 KB
usb-legacy-support.txt -rw-r--r-- 1.8 KB
zero-page.txt -rw-r--r-- 1.8 KB

back to top