[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150908.132855.1931912800434042661.davem@davemloft.net>
Date: Tue, 08 Sep 2015 13:28:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dsa@...ulusnetworks.com
Cc: netdev@...r.kernel.org, shm@...ulusnetworks.com,
tom@...bertland.com
Subject: Re: [PATCH net-next] net: Remove VRF change to udp_sendmsg
From: David Ahern <dsa@...ulusnetworks.com>
Date: Mon, 31 Aug 2015 14:44:46 -0600
> If anything I should be going straight to fib_table_lookup in the VRF
> driver for this new lookup to get the source address. It knows the
> exact table that should be used and hence can avoid the rules walk +
> local table miss which happens using the ip_route_xxxxx functions as
> well as the rth lookup/create which is not needed here.
Definitely if this is the case you should do a direct fib_table_lookup().
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists