summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2016-07-07 09:39:29 -0300
committerDavid S. Miller <davem@davemloft.net>2016-07-09 00:08:21 -0400
commitf1533cce60d1f84378c1dd925f9ef1038fa93507 (patch)
tree51a8e7832f2f0c851b7a592ef5e1215c86d163a3 /net/bridge/br_private.h
parent09a7636a5b151670072de60767ddf096dc7bd12e (diff)
downloadblackbird-op-linux-f1533cce60d1f84378c1dd925f9ef1038fa93507.tar.gz
blackbird-op-linux-f1533cce60d1f84378c1dd925f9ef1038fa93507.zip
sctp: fix panic when sending auth chunks
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 used the next packet due to the chunk still being queued, but space which wasn't allocated as its size wasn't accounted. The fix is to only queue it back when we know that we are going to generate another segment. Fixes: 90017accff61 ("sctp: Add GSO support") Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud