Re: [net-next, v2] seg6: allow local packet processing for SRv6 End.DT6 behavior

From: David Miller
Date: Thu Nov 21 2019 - 01:21:01 EST


From: Andrea Mayer <andrea.mayer@xxxxxxxxxxx>
Date: Mon, 18 Nov 2019 23:25:58 +0100

> @@ -199,6 +207,12 @@ int seg6_lookup_nexthop(struct sk_buff *skb, struct in6_addr *nhaddr,
> return dst->error;
> }
>
> +inline int seg6_lookup_nexthop(struct sk_buff *skb,
> + struct in6_addr *nhaddr, u32 tbl_id)

Do not use the inline keyword in foo.c files, let the compiler decide.