Re: [PATCH net-next] net: rules: Move l3mdev attribute validation to a helper

2018-04-25 Thread David Miller
From: David Ahern Date: Tue, 24 Apr 2018 18:36:07 -0700 > Move the check on FRA_L3MDEV attribute to helper to improve the > readability of fib_nl2rule. Update the extack messages to be > clear when the configuration option is disabled versus an invalid > value has been passed. > > Signed-off-by:

[PATCH net-next] net: rules: Move l3mdev attribute validation to a helper

2018-04-24 Thread David Ahern
Move the check on FRA_L3MDEV attribute to helper to improve the readability of fib_nl2rule. Update the extack messages to be clear when the configuration option is disabled versus an invalid value has been passed. Signed-off-by: David Ahern --- net/core/fib_rules.c | 34 -