Re: [PATCH net] sctp: remove the useless check in sctp_renege_events

2018-02-12 Thread David Miller
From: Xin Long Date: Mon, 12 Feb 2018 18:31:24 +0800 > Remove the 'if (chunk)' check in sctp_renege_events for idata process, > as all renege commands are generated in sctp_eat_data and it can't be > NULL. > > The same thing we already did for common data in sctp_ulpq_renege. > > Fixes: 94014e8

Re: [PATCH net] sctp: remove the useless check in sctp_renege_events

2018-02-12 Thread Neil Horman
On Mon, Feb 12, 2018 at 06:31:24PM +0800, Xin Long wrote: > Remove the 'if (chunk)' check in sctp_renege_events for idata process, > as all renege commands are generated in sctp_eat_data and it can't be > NULL. > > The same thing we already did for common data in sctp_ulpq_renege. > > Fixes: 9401

Re: [PATCH net] sctp: remove the useless check in sctp_renege_events

2018-02-12 Thread Marcelo Ricardo Leitner
On Mon, Feb 12, 2018 at 06:31:24PM +0800, Xin Long wrote: > Remove the 'if (chunk)' check in sctp_renege_events for idata process, > as all renege commands are generated in sctp_eat_data and it can't be > NULL. > > The same thing we already did for common data in sctp_ulpq_renege. > > Fixes: 9401

[PATCH net] sctp: remove the useless check in sctp_renege_events

2018-02-12 Thread Xin Long
Remove the 'if (chunk)' check in sctp_renege_events for idata process, as all renege commands are generated in sctp_eat_data and it can't be NULL. The same thing we already did for common data in sctp_ulpq_renege. Fixes: 94014e8d871a ("sctp: implement renege_events for sctp_stream_interleave") Si