[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141222.164844.47766171021564150.davem@davemloft.net>
Date: Mon, 22 Dec 2014 16:48:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: nicolas.dichtel@...nd.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] tcp6: don't move IP6CB before xfrm6_policy_check()
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Date: Mon, 22 Dec 2014 18:22:48 +0100
> When xfrm6_policy_check() is used, _decode_session6() is called after some
> intermediate functions. This function uses IP6CB(), thus TCP_SKB_CB() must be
> prepared after the call of xfrm6_policy_check().
>
> Before this patch, scenarii with IPv6 + TCP + IPsec Transport are broken.
>
> Fixes: 971f10eca186 ("tcp: better TCP_SKB_CB layout to reduce cache line misses")
> Reported-by: Huaibin Wang <huaibin.wang@...nd.com>
> Suggested-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Applied and queued up for -stable, thanks everyone.
--
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