OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Clean the ip_sockglue.c from some ugly ifdefs
Re: [PATCH] Clean the ip_sockglue.c from some ugly ifdefs [message #22797 is a reply to message #22698] Thu, 01 November 2007 16:31 Go to previous messageGo to previous message
Arnaldo Carvalho de M is currently offline  Arnaldo Carvalho de M
Messages: 27
Registered: October 2007
Junior Member
Em Thu, Nov 01, 2007 at 06:52:34PM +0300, Pavel Emelyanov escreveu:
> The #idfed CONFIG_IP_MROUTE is sometimes places inside the if-s,
> which looks completely bad. Similar ifdefs inside the functions
> looks a bit better, but they are also not recommended to be used.
> 
> Provide an ifdef-ed ip_mroute_opt() helper to cleanup the code.
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Perhaps a better name would be ip_mroute_valid_opt()?

- Arnaldo
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] decnet: "addr" module param can't be __initdata
Next Topic: irq0 stops working
Goto Forum:
  


Current Time: Tue Aug 26 22:27:15 GMT 2025

Total time taken to generate the page: 0.22666 seconds