All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Satyavani Namala <vani.namala@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Issue with ipv6 icmp reply after dnat over ipsec
Date: Fri, 24 Feb 2023 19:50:57 +0100	[thread overview]
Message-ID: <20230224185057.GJ26596@breakpoint.cc> (raw)
In-Reply-To: <CAAycz1m+AszZCS-1eaKZiAAXRUVSEE4a_Z3X3j4Rjyvmce4zvA@mail.gmail.com>

Satyavani Namala <vani.namala@gmail.com> wrote:
> We are facing an issue while testing ICMP v6 (NAT) with ipsec tunnel,
> where ping was not working , as policy is not matching (returning with
> LINUX_MIB_XFRMINNOPOLS).
> 
> When we investigated and compared with IPv4 , it was found that,
> nf_reset is happening before xfrm6_policy_check in case of IPV6
> compared to IPV4 in which nf_reset is done after xfrm4_policy_check.
> 
> Due to nf_reset, skb->_nfct is  NULL and __xfrm_policy_check is returning error.

Looks like a bug, can you submit a fix?

      reply	other threads:[~2023-02-24 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24 18:44 Issue with ipv6 icmp reply after dnat over ipsec Satyavani Namala
2023-02-24 18:50 ` Florian Westphal [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=20230224185057.GJ26596@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netdev@vger.kernel.org \
    --cc=vani.namala@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.