[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140611.004752.1241689531611946239.davem@davemloft.net>
Date: Wed, 11 Jun 2014 00:47:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: huizhang@...vell.com
Cc: netdev@...r.kernel.org, alan@...rguk.ukuu.org.uk,
sergei.shtylyov@...entembedded.com, nickcave.zhang@...il.com
Subject: Re: [PATCH] net: ipv6: Fixed up ipsec packet be re-routing issue
From: Hui Zhang <huizhang@...vell.com>
Date: Mon, 9 Jun 2014 12:37:25 +0800
> Bug report on https://bugzilla.kernel.org/show_bug.cgi?id=75781
>
> When a local output ipsec packet match the mangle table rule,
> and be set mark value, the packet will be route again in
> route_me_harder -> _session_decoder6
>
> In this case, the nhoff in CB of skb was still the default
> value 0. So the protocal match can't success and the packet can't match
> correct SA rule,and then the packet be send out in plaintext.
>
> To fixed up the issue. The CB->nhoff must be set.
>
> Signed-off-by: Hui Zhang <huizhang@...vell.com>
Applied, thanks.
--
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