diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-09-26 10:52:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-28 08:48:00 (GMT) |
commit | 347e3b28c1ba24c1ae2f30290d8247480ab9ce14 (patch) | |
tree | b84cd9ae18da57455f7e3ede13c2ef6522eecff8 /net/ipv4/fib_rules.c | |
parent | 936bd486564aa3edb52313aa7c2e7381e0bcaba3 (diff) | |
download | linux-347e3b28c1ba24c1ae2f30290d8247480ab9ce14.tar.xz |
switchdev: remove FIB offload infrastructure
Since this is now taken care of by FIB notifier, remove the code, with
all unused dependencies.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_rules.c')
-rw-r--r-- | net/ipv4/fib_rules.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c index ebadf6b..2e50062 100644 --- a/net/ipv4/fib_rules.c +++ b/net/ipv4/fib_rules.c @@ -228,7 +228,6 @@ static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, rule4->tos = frh->tos; net->ipv4.fib_has_custom_rules = true; - fib_flush_external(rule->fr_net); call_fib_rule_notifiers(net, FIB_EVENT_RULE_ADD); err = 0; @@ -251,7 +250,6 @@ static int fib4_rule_delete(struct fib_rule *rule) net->ipv4.fib_num_tclassid_users--; #endif net->ipv4.fib_has_custom_rules = true; - fib_flush_external(rule->fr_net); call_fib_rule_notifiers(net, FIB_EVENT_RULE_DEL); errout: return err; |