[FIB]: Add netns to fib_rules_ops.
The backward link from FIB rules operations to the network namespace will allow to simplify the API a bit. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
853f4b5055
commit
0359238333
@@ -249,6 +249,7 @@ static struct fib_rules_ops dn_fib_rules_ops = {
|
||||
.policy = dn_fib_rule_policy,
|
||||
.rules_list = LIST_HEAD_INIT(dn_fib_rules_ops.rules_list),
|
||||
.owner = THIS_MODULE,
|
||||
.fro_net = &init_net,
|
||||
};
|
||||
|
||||
void __init dn_fib_rules_init(void)
|
||||
|
Reference in New Issue
Block a user