RE: [PATCH v2] net: sctp: Fix negotiation of the number of data streams.

2020-08-21 Thread David Laight
From: David Miller > Sent: 21 August 2020 00:39 > > > > > 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. > >

Re: [PATCH v2] net: sctp: Fix negotiation of the number of data streams.

2020-08-20 Thread David Miller
From: David Laight Date: Wed, 19 Aug 2020 14:40:52 + > > 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. > >

Re: [PATCH v2] net: sctp: Fix negotiation of the number of data streams.

2020-08-20 Thread 'Marcelo Ricardo Leitner'
On Wed, Aug 19, 2020 at 02:40:52PM +, David Laight wrote: > > 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. >

[PATCH v2] net: sctp: Fix negotiation of the number of data streams.

2020-08-19 Thread David Laight
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

RE: [PATCH v2] net: sctp: Fix negotiation of the number of data streams.

2020-08-19 Thread David Laight
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 L