net: fib_rules: mark arguments to fib_rules_register const and __net_initdata
authorPatrick McHardy <kaber@trash.net>
Mon, 26 Apr 2010 14:02:04 +0000 (16:02 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 26 Apr 2010 14:02:04 +0000 (16:02 +0200)
fib_rules_register() duplicates the template passed to it without modification,
mark the argument as const. Additionally the templates are only needed when
instantiating a new namespace, so mark them as __net_initdata, which means
they can be discarded when CONFIG_NET_NS=n.

Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found