netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steffen Klassert <steffen.klassert@secunet.com>
To: Fan Du <fan.du@windriver.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [PATCHv2 net-next] xfrm: Simplify SA looking up when using wildcard source
Date: Tue, 1 Oct 2013 13:18:36 +0200	[thread overview]
Message-ID: <20131001111836.GM7660@secunet.com> (raw)
In-Reply-To: <1380270770-19089-1-git-send-email-fan.du@windriver.com>

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@windriver.com>

Applied to ipsec-next, thanks a lot!

      reply	other threads:[~2013-10-01 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27  8:32 [PATCHv2 net-next] xfrm: Simplify SA looking up when using wildcard source Fan Du
2013-10-01 11:18 ` Steffen Klassert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131001111836.GM7660@secunet.com \
    --to=steffen.klassert@secunet.com \
    --cc=davem@davemloft.net \
    --cc=fan.du@windriver.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).