[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1292313093-11973-1-git-send-email-timo.lindfors@iki.fi>
Date: Tue, 14 Dec 2010 09:51:33 +0200
From: Timo Juhani Lindfors <timo.lindfors@....fi>
To: netdev@...r.kernel.org
Cc: Timo Juhani Lindfors <timo.lindfors@....fi>
Subject: [PATCH] ip: use checksum options of first fragment also for subsequent fragments
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=24832
Signed-off-by: Timo Juhani Lindfors <timo.lindfors@....fi>
---
net/ipv4/ip_output.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index 439d2a3..c0743ed 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -1167,7 +1167,7 @@ ssize_t ip_append_page(struct sock *sk, struct page *page,
/*
* Fill in the control structures
*/
- skb->ip_summed = CHECKSUM_NONE;
+ skb->ip_summed = skb_prev->ip_summed;
skb->csum = 0;
skb_reserve(skb, hh_len);
--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists