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
80211
firmware
iio
pm
usb
basics.rst -rw-r--r-- 2.1 KB
conf.py -rw-r--r-- 232 bytes
device-io.rst -rw-r--r-- 8.1 KB
device_link.rst -rw-r--r-- 13.7 KB
dma-buf.rst -rw-r--r-- 5.3 KB
edac.rst -rw-r--r-- 6.1 KB
frame-buffer.rst -rw-r--r-- 2.0 KB
hsi.rst -rw-r--r-- 3.1 KB
i2c.rst -rw-r--r-- 2.3 KB
index.rst -rw-r--r-- 835 bytes
infrastructure.rst -rw-r--r-- 1.5 KB
input.rst -rw-r--r-- 870 bytes
message-based.rst -rw-r--r-- 217 bytes
misc_devices.rst -rw-r--r-- 93 bytes
miscellaneous.rst -rw-r--r-- 1.3 KB
pci.rst -rw-r--r-- 852 bytes
regulator.rst -rw-r--r-- 5.9 KB
sound.rst -rw-r--r-- 870 bytes
spi.rst -rw-r--r-- 2.7 KB
uio-howto.rst -rw-r--r-- 28.6 KB
vme.rst -rw-r--r-- 10.4 KB

back to top