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
Atmel
Marvell
OMAP
SA1100
SH-Mobile
SPEAr
Samsung
Samsung-S3C24XX
VFP
keystone
nwfpe
pxa
sti
stm32
sunxi
00-INDEX -rw-r--r-- 1.4 KB
Booting -rw-r--r-- 7.9 KB
CCN.txt -rw-r--r-- 2.4 KB
IXP4xx -rw-r--r-- 6.3 KB
Interrupts -rw-r--r-- 6.6 KB
Netwinder -rw-r--r-- 1.5 KB
Porting -rw-r--r-- 4.4 KB
README -rw-r--r-- 7.6 KB
Setup -rw-r--r-- 3.5 KB
cluster-pm-race-avoidance.txt -rw-r--r-- 16.2 KB
firmware.txt -rw-r--r-- 2.2 KB
kernel_mode_neon.txt -rw-r--r-- 5.6 KB
kernel_user_helpers.txt -rw-r--r-- 6.6 KB
mem_alignment -rw-r--r-- 2.4 KB
memory.txt -rw-r--r-- 3.1 KB
swp_emulation -rw-r--r-- 1.2 KB
tcm.txt -rw-r--r-- 5.0 KB
uefi.txt -rw-r--r-- 2.9 KB
vlocks.txt -rw-r--r-- 6.6 KB

README

back to top