• P
    net: Add extack argument to ndo_fdb_add() · 87b0984e
    Petr Machata 提交于
    Drivers may not be able to support certain FDB entries, and an error
    code is insufficient to give clear hints as to the reasons of rejection.
    
    In order to make it possible to communicate the rejection reason, extend
    ndo_fdb_add() with an extack argument. Adapt the existing
    implementations of ndo_fdb_add() to take the parameter (and ignore it).
    Pass the extack parameter when invoking ndo_fdb_add() from rtnl_fdb_add().
    Signed-off-by: NPetr Machata <petrm@mellanox.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    87b0984e
slave.c 39.5 KB