Re: [PATCH ipsec-next 2/2] xfrm: policy: replace session decode with flow dissector
From: Florian Westphal <fw@strlen.de>
Date: 2023-09-27 18:01:42
Also in:
oe-lkp
From: Florian Westphal <fw@strlen.de>
Date: 2023-09-27 18:01:42
Also in:
oe-lkp
kernel test robot [off-list ref] wrote:
(please refer to attached dmesg/kmsg for entire log/backtrace) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot [off-list ref] | Closes: https://lore.kernel.org/oe-lkp/202309271628.27fd2187-oliver.sang@intel.com (local) kern :warn : [ 173.147140] ------------[ cut here ]------------ kern :warn : [ 173.147759] WARNING: CPU: 12 PID: 2260 at net/core/flow_dissector.c:1096 __skb_flow_dissect (net/core/flow_dissector.c:1096 (discriminator 1))
Two options, more 'guess the right netns' in flow dissector: derive netns from skb->dst->dev. Or, pass struct net down to xfrm session decode functions. I'll have a go at option 2 to see how much noise its going to be.