diff options
author | 2020-08-19 14:40:52 +0000 | |
---|---|---|
committer | 2020-08-20 16:37:37 -0700 | |
commit | ab921f3cdbec01c68705a7ade8bec628d541fc2b (patch) | |
tree | 2a75fcdc873fe7920d049de83c7a372ab389f45e /net/unix/af_unix.c | |
parent | dt-bindings: net: renesas, ether: Improve schema validation (diff) | |
download | wireguard-linux-ab921f3cdbec01c68705a7ade8bec628d541fc2b.tar.xz wireguard-linux-ab921f3cdbec01c68705a7ade8bec628d541fc2b.zip |
net: sctp: Fix negotiation of the number of data streams.
The number of output and input streams was never being reduced, eg when
processing received INIT or INIT_ACK chunks.
The effect is that DATA chunks can be sent with invalid stream ids
and then discarded by the remote system.
Fixes: 2075e50caf5ea ("sctp: convert to genradix")
Signed-off-by: David Laight <david.laight@aculab.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions