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

2015-08-17 Thread David Miller
From: David Ahern 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 > Signed-off-by: David Ahern Please do not use the 'inline' keyword for functio

[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 Signed-off-by: David Ahern --- net/ipv4/udp.c | 44 1 file changed, 24 insertions(+), 20 deletions(-