[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALx6S37krurU1nFpC-9aT_EDhZfH7p=-wSrSjUSNKvm5+s_c2Q@mail.gmail.com>
Date: Sun, 25 Oct 2015 09:32:58 -0400
From: Tom Herbert <tom@...bertland.com>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Vlad Yasevich <vyasevich@...il.com>,
Benjamin Coddington <bcodding@...hat.com>
Subject: Re: [PATCH net] ipv6: no CHECKSUM_PARTIAL on skbs with extension
headers and recalc checksum during fragmentation
> Anyway, currently it is easy to generate broken checksums on the wire
> and would like to solve that for net, we certainly can improve that in
> net-next.
>
Hannes,
The IPv4 fragment code is very similar to IPv6 in that both will
perform skb_checksum_help only in the slow_path, so it seems like
skb_checksum_help should be called earlier before the fragments are
generated in both cases. If we're not correctly setting checksum for
packets that are fragmented that is an issue with the stack.
Tom
> Bye,
> Hannes
--
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