Skip to content

Commit

Permalink
fib_rules: move common handling of newrule delrule msgs into fib_nl2rule
Browse files Browse the repository at this point in the history
This reduces code duplication in the fib rule add and del paths.
Get rid of validate_rulemsg. This became obvious when adding duplicate
extack support in fib newrule/delrule error paths.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Roopa Prabhu authored and David S. Miller committed Apr 23, 2018
1 parent a56e6bc commit f9d4b0c
Showing 1 changed file with 192 additions and 244 deletions.
Loading

0 comments on commit f9d4b0c

Please sign in to comment.