diff options
| author | Petr Machata <[email protected]> | 2018-12-13 11:54:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-13 18:41:39 -0800 |
| commit | 74bc99397438352bf063329bf22c7a7b4f7e8220 (patch) | |
| tree | 2047343ba379bf436a16e6aa30f3825686e7a112 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9329b8162b95200d046b7ef5c9830af9dc74d2ca (diff) | |
mlxsw: spectrum_router: Veto unsupported RIF MAC addresses
On NETDEV_PRE_CHANGEADDR, if the change is related to a RIF interface,
verify that it satisfies the criterion that all RIF interfaces have the
same MAC address prefix, as indicated by mlxsw_sp.mac_mask.
Additionally, besides explicit address changes, check that the address
of an interface for which a RIF is about to be added matches the
required pattern as well.
Signed-off-by: Petr Machata <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions