Hi, On Wed, Nov 11, 2020 at 12:50:25PM +0100, Georg Kohmann wrote: [...] > diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c > index c8cf1bb..e3869ba 100644 > --- a/net/ipv6/reassembly.c > +++ b/net/ipv6/reassembly.c > @@ -318,15 +318,43 @@ static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *skb, > return -1; > } > > +/* Check if the upper layer header is truncated in the first fragment. */ > +bool ipv6_frag_thdr_truncated(struct sk_buff *skb, int start, u8 *nexthdrp) Please, follow up and send a patch to place this function in include/net/ipv6_frag.h as static inline. See: https://marc.info/?l=netfilter-devel&m=160571942728516&w=2