aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/rtnetlink.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-04-26 16:02:04 +0200
committerPatrick McHardy <kaber@trash.net>2010-04-26 16:02:04 +0200
commit3d0c9c4eb2dbdcc461be4084abd87a9a9e70f713 (patch)
tree3a71a67a1f40afd7afbe0389259eb27d23fbfa36 /net/core/rtnetlink.c
parent8c52d509e84bbf26cffb8b6e75b399689af67885 (diff)
downloadkernel_goldelico_gta04-3d0c9c4eb2dbdcc461be4084abd87a9a9e70f713.zip
kernel_goldelico_gta04-3d0c9c4eb2dbdcc461be4084abd87a9a9e70f713.tar.gz
kernel_goldelico_gta04-3d0c9c4eb2dbdcc461be4084abd87a9a9e70f713.tar.bz2
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 <kaber@trash.net>
Diffstat (limited to 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions