]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-Reject-unsupported-FIB-configurations'
authorDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 17:15:18 +0000 (13:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 17:15:18 +0000 (13:15 -0400)
commitcc83b1aab319c77a8df681c95d44eeeeef042663
tree12d54196d8b4799d568979ebd27dc617cec5716b
parentaa86bc178dd8854f3bb578c41116b0f797dcdb77
parenta3fb8e82f34f58b59355a035b1fe4b62786b83c3
Merge branch 'mlxsw-Reject-unsupported-FIB-configurations'

Ido Schimmel says:

====================
mlxsw: Reject unsupported FIB configurations

Recently it became possible for listeners of the FIB notification chain
to veto operations such as addition of routes and rules.

Adjust the mlxsw driver to take advantage of it and return an error for
unsupported FIB rules and for routes configured after the abort
mechanism was triggered (due to exceeded resources for example).

v2:
* Change error code in first patch to -EOPNOTSUPP (David Ahern).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>