Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3d0c9c4e authored by Patrick McHardy's avatar Patrick McHardy
Browse files

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: default avatarPatrick McHardy <kaber@trash.net>
parent 8c52d509
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment