[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130827092356.GB7660@secunet.com>
Date: Tue, 27 Aug 2013 11:23:56 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH 2/2] ipv6: set skb->protocol on tcp, raw and
ip6_append_data genereated skbs
On Mon, Aug 26, 2013 at 12:31:23PM +0200, Hannes Frederic Sowa wrote:
> Currently we don't initialize skb->protocol when transmitting data via
> tcp, raw(with and without inclhdr) or udp+ufo or appending data directly
> to the socket transmit queue (via ip6_append_data). This needs to be
> done so that we can get the correct mtu in the xfrm layer.
>
> Setting of skb->protocol happens only in functions where we also have
> a transmitting socket and a new skb, so we don't overwrite old values.
>
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: Eric Dumazet <eric.dumazet@...il.com>
> Acked-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Also applied to ipsec, thanks a lot!
--
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