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)
commite90c1a1090cccf833080b512746f24667985ed73
tree12d54196d8b4799d568979ebd27dc617cec5716b
parent794451c1b57fa3871f51b62c0e430f44073e7cfc
parent50d10711cf1b0bf82f274b0901f54e7ff030b740
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>