aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2016-07-13 14:08:59 -0400
committerDavid S. Miller <davem@davemloft.net>2016-07-13 21:10:14 -0400
commitd9cef42529402f9fce10376b6e427a5137d90c3d (patch)
treed834717a3f6fe55a4e8896d247001e715b7e0448
parente7487c86dc5c4a528a7dbd9dc14f453a0de61a84 (diff)
sctp: do not clear chunk->ecn_ce_done flag
We should not clear that flag when switching to a new skb from a GSO skb because it would cause ECN processing to happen multiple times per GSO skb, which is not wanted. Instead, let it be processed once per chunk. That is, in other words, once per IP header available. 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>
-rw-r--r--net/sctp/inqueue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/inqueue.c b/net/sctp/inqueue.c
index 8fc773f9b59a..942770675f4c 100644
--- a/net/sctp/inqueue.c
+++ b/net/sctp/inqueue.c
@@ -217,7 +217,6 @@ new_skb:
217 chunk->auth = 0; 217 chunk->auth = 0;
218 chunk->has_asconf = 0; 218 chunk->has_asconf = 0;
219 chunk->end_of_packet = 0; 219 chunk->end_of_packet = 0;
220 chunk->ecn_ce_done = 0;
221 if (chunk->head_skb) { 220 if (chunk->head_skb) {
222 struct sctp_input_cb 221 struct sctp_input_cb
223 *cb = SCTP_INPUT_CB(chunk->skb), 222 *cb = SCTP_INPUT_CB(chunk->skb),