commit | c77bbc648faf4a6647c4f4446ca82e231475ffb5 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Apr 24 18:36:07 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 25 13:26:12 2018 -0400 |
tree | adc2ee2c7d07e148eec330aa9bf501c8bd2c45b1 | |
parent | 51446780fc33e45cb790c05a7fa2c5bf7e8bc53b [diff] |
net: rules: Move l3mdev attribute validation to a helper 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 <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>