diff options
author | David Laight <David.Laight@ACULAB.COM> | 2020-08-19 14:40:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-20 16:37:37 -0700 |
commit | ab921f3cdbec01c68705a7ade8bec628d541fc2b (patch) | |
tree | 2a75fcdc873fe7920d049de83c7a372ab389f45e /net/x25 | |
parent | 41506bff84f1563e20e505ca9a0366a30ae2a879 (diff) |
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/x25')
0 files changed, 0 insertions, 0 deletions