Yes, I check the ipv6_stub->ipv6_fragment. And in the case
if there is no ipv6_stub->ipv6_fragment it means no ipv6 fragment support
and it should free the skb.
Maybe sometimes not all the calling remember to check with this? So
it should add a default one with following?
+static int eafnosup
On Thu, Aug 27, 2020 at 07:51:47AM -0700, David Miller wrote:
> From: we...@ucloud.cn
> Date: Thu, 27 Aug 2020 18:39:51 +0800
>
> > From: wenxu
> >
> > Add ipv6_fragment to ipv6_stub to avoid calling netfilter when
> > access ip6_fragment.
> >
> > Signed-off-by: wenxu
>
> Please test these ch
From: we...@ucloud.cn
Date: Thu, 27 Aug 2020 18:39:51 +0800
> From: wenxu
>
> Add ipv6_fragment to ipv6_stub to avoid calling netfilter when
> access ip6_fragment.
>
> Signed-off-by: wenxu
Please test these changes with ipv6 disabled.
It will crash, you have to update the default stub in
net
From: wenxu
Add ipv6_fragment to ipv6_stub to avoid calling netfilter when
access ip6_fragment.
Signed-off-by: wenxu
---
include/net/ipv6_stubs.h | 3 +++
net/ipv6/af_inet6.c | 1 +
2 files changed, 4 insertions(+)
diff --git a/include/net/ipv6_stubs.h b/include/net/ipv6_stubs.h
index d7