From: William Tu <[email protected]> Date: Sun, 26 Apr 2020 08:05:11 -0700
> index 029b24eeafba..b5c5fb329f31 100644
> --- a/net/ipv4/ip_gre.c
> +++ b/net/ipv4/ip_gre.c
> @@ -248,6 +248,15 @@ static void gre_err(struct sk_buff *skb, u32 info)
> ipgre_err(skb, info, &tpi);
> }
>
> +static inline bool is_erspan_type1(int gre_hdr_len)
> +{
Please do not use the inline keyword in foo.c files, let the compiler decide.
