From: Patrick McHardy Date: Mon, 26 Apr 2010 14:02:04 +0000 (+0200) Subject: net: fib_rules: mark arguments to fib_rules_register const and __net_initdata X-Git-Tag: v2.6.35-rc1~473^2~364^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d0c9c4eb2dbdcc461be4084abd87a9a9e70f713;p=pandora-kernel.git net: fib_rules: mark arguments to fib_rules_register const and __net_initdata 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 --- Reading git-diff-tree failed