On Mon, 9 Nov 2020 22:08:47 +0000 Georg Kohmann (geokohma) wrote: > >> +bool ipv6_frag_validate(struct sk_buff *skb, int start, u8 *nexthdrp) > > (a) why place this function in exthdrs_core? I don't see any header > > specific code here, IMO it belongs in reassembly.c. > > ipv6_frag_validate() is used in both reassembly.c and nf_conntrack_reasm.c > Where should I put the prototype so it can be used both places? The prototype can stay in net/ipv6.h