]> 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)
commit5bd5f2dec7d4e0af26749666b1c3e64ef42273dd
tree12d54196d8b4799d568979ebd27dc617cec5716b
parent630a87cc89e165083505d75eb16ea70a043add57
parent4badf0672c03ea44ac18af3632c4299bbb353827
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>