[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180213.144947.1026417908602250422.davem@davemloft.net>
Date: Tue, 13 Feb 2018 14:49:47 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dsahern@...il.com
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com
Subject: Re: [PATCH net-next] net: Move ipv4 set_lwt_redirect helper to
lwtunnel
From: David Ahern <dsahern@...il.com>
Date: Tue, 13 Feb 2018 08:45:50 -0800
> @@ -127,6 +127,19 @@ int lwtunnel_output(struct net *net, struct sock *sk, struct sk_buff *skb);
> int lwtunnel_input(struct sk_buff *skb);
> int lwtunnel_xmit(struct sk_buff *skb);
>
> +static inline void lwtunnel_set_redirect(struct dst_entry *dst)
> +{
> + if (dst->lwtstate) {
This test is new, and doesn't exist in the ipv4 nor the ipv6 code you are
deriving this from.
If it is needed, explain why.
Thank you.
Powered by blists - more mailing lists