Re: [PATCH v2] seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header

2020-07-31 Thread David Miller
From: Ioana-Ruxandra Stancioi Date: Fri, 31 Jul 2020 07:40:32 + > --- a/net/ipv6/seg6_iptunnel.c > +++ b/net/ipv6/seg6_iptunnel.c > @@ -27,6 +27,23 @@ > #include > #endif > > +static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo) > +{ Please remove the inline tag

[PATCH v2] seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header

2020-07-31 Thread Ioana-Ruxandra Stancioi
From: Ioana-Ruxandra Stăncioi Refactor the function seg6_lwt_headroom out of the seg6_iptunnel.h uapi header, because it is only used in seg6_iptunnel.c. Moreover, it is only used in the kernel code, as indicated by the "#ifdef __KERNEL__". Suggested-by: David Miller Signed-off-by: