[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131001111836.GM7660@secunet.com>
Date: Tue, 1 Oct 2013 13:18:36 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Fan Du <fan.du@...driver.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCHv2 net-next] xfrm: Simplify SA looking up when using
wildcard source
On Fri, Sep 27, 2013 at 04:32:50PM +0800, Fan Du wrote:
> __xfrm4/6_state_addr_check is a four steps check, all we need to do
> is checking whether the destination address match when looking SA
> using wildcard source address. Passing saddr from flow is worst option,
> as the checking needs to reach the fourth step while actually only
> one time checking will do the work.
>
> So, simplify this process by only checking destination address when
> using wildcard source address for looking up SAs.
>
> Signed-off-by: Fan Du <fan.du@...driver.com>
Applied to ipsec-next, 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