Re: [PATCH] net: reset ip_summed in skb_tunnel_rx()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jesse Gross
Date: Sunday, August 29, 2010 - 8:35 am

On Sun, Aug 29, 2010 at 12:48 AM, Eric Dumazet <eric.dumazet@gmail.com> wrote:

This is intentional behavior.  For CHECKSUM_COMPLETE packets we
subtract off the checksum of the encapsulating headers that we remove
so we can still get the benefit of checksum hardware for the inner
packet as well.  GRE does this using skb_postpull_rcsum(), for IPIP it
is implicit because the outer IP header was already removed, etc.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] net: reset ip_summed in skb_tunnel_rx(), Eric Dumazet, (Sun Aug 29, 12:48 am)
Re: [PATCH] net: reset ip_summed in skb_tunnel_rx(), Jesse Gross, (Sun Aug 29, 8:35 am)