[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161107.131627.595358248939910365.davem@davemloft.net>
Date: Mon, 07 Nov 2016 13:16:27 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dsa@...ulusnetworks.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: icmp_route_lookup should use rt dev to determine
L3 domain
From: David Ahern <dsa@...ulusnetworks.com>
Date: Thu, 3 Nov 2016 10:13:39 -0700
> icmp_send is called in response to some event. The skb may not have
> the device set (skb->dev is NULL), but it is expected to have an rt.
> Update icmp_route_lookup to use the rt on the skb to determine L3
> domain.
>
> Fixes: 613d09b30f8b ("net: Use VRF device index for lookups on TX")
> Signed-off-by: David Ahern <dsa@...ulusnetworks.com>
"skb_dst(...)->dev" would be more direct and look nicer. No need to
use skb_rtable() just to walk backwards to the 'dst'.
Powered by blists - more mailing lists