Re: [PATCH net] net: fib_rules: bring back rule_exists to match rule during add

2018-06-30 Thread David Miller
From: Roopa Prabhu Date: Fri, 29 Jun 2018 14:32:15 -0700 > From: Roopa Prabhu > > After commit f9d4b0c1e969 ("fib_rules: move common handling of newrule > delrule msgs into fib_nl2rule"), rule_exists got replaced by rule_find > for existing rule lookup in both the add and del paths. While this

[PATCH net] net: fib_rules: bring back rule_exists to match rule during add

2018-06-29 Thread Roopa Prabhu
From: Roopa Prabhu After commit f9d4b0c1e969 ("fib_rules: move common handling of newrule delrule msgs into fib_nl2rule"), rule_exists got replaced by rule_find for existing rule lookup in both the add and del paths. While this is good for the delete path, it solves a few problems but opens up a