Re: [PATCH] sctp: fix panic when sending auth chunks

2016-07-08 Thread David Miller
From: Marcelo Ricardo Leitner Date: Thu, 7 Jul 2016 09:39:29 -0300 > When we introduced GSO support, if using auth the auth chunk was being > left queued on the packet even after the final segment was generated. > Later on sctp_transmit_packet it calls sctp_packet_reset, which zeroed > the packe

[PATCH] sctp: fix panic when sending auth chunks

2016-07-07 Thread Marcelo Ricardo Leitner
When we introduced GSO support, if using auth the auth chunk was being left queued on the packet even after the final segment was generated. Later on sctp_transmit_packet it calls sctp_packet_reset, which zeroed the packet len while not accounting for this left-over. This caused more space to be us