Re: [PATCH] net: Move VRF change to udp_sendmsg to inlined function

2015-08-17 Thread David Miller
From: David Ahern d...@cumulusnetworks.com Date: Sat, 15 Aug 2015 18:11:59 -0600 Functionally equivalent, but as an inlined function with VRF config check it completely compiles out if VRF is not enabled. Suggested-by: Tom Herbert t...@herbertland.com Signed-off-by: David Ahern

[PATCH] net: Move VRF change to udp_sendmsg to inlined function

2015-08-15 Thread David Ahern
Functionally equivalent, but as an inlined function with VRF config check it completely compiles out if VRF is not enabled. Suggested-by: Tom Herbert t...@herbertland.com Signed-off-by: David Ahern d...@cumulusnetworks.com --- net/ipv4/udp.c | 44 1