linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel 5d7bfd1419 ipv4: fib_rules: Dump FIB rules when registering FIB notifier
In commit c3852ef7f2 ("ipv4: fib: Replay events when registering FIB
notifier") we dumped the FIB tables and replayed the events to the
passed notification block.

However, we merely sent a RULE_ADD notification in case custom rules
were in use. As explained in previous patches, this approach won't work
anymore. Instead, we should notify the caller about all the FIB rules
and let it act accordingly.

Upon registration to the FIB notification chain, replay a RULE_ADD
notification for each programmed FIB rule, custom or not. The integrity
of the dump is ensured by the mechanism introduced in the above
mentioned commit.

Prevent regressions by making sure current listeners correctly sanitize
the notified rules.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-16 10:18:34 -07:00
..
cmd.h mlxsw: pci: Remove unused bit 2017-03-08 23:17:38 -08:00
core_acl_flex_actions.c mlxsw: spectrum: Add support for Policing and Counting action block 2017-03-12 23:50:14 -07:00
core_acl_flex_actions.h mlxsw: spectrum: Add support for Policing and Counting action block 2017-03-12 23:50:14 -07:00
core_acl_flex_keys.c mlxsw: core: Introduce flexible keys support 2017-02-03 16:35:41 -05:00
core_acl_flex_keys.h mlxsw: spectrum: Add support for flower matches on VLAN ID, PCP 2017-03-09 18:35:35 -08:00
core_hwmon.c mlxsw: core: Zero payload buffers for couple of registers 2016-10-30 16:50:17 -04:00
core_thermal.c mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
core.c mlxsw: core: Queue work immediately instead of delaying it 2017-02-06 11:25:55 -05:00
core.h mlxsw: core: Queue work immediately instead of delaying it 2017-02-06 11:25:55 -05:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
i2c.c mlxsw: Fix mlxsw_i2c_write return value 2017-01-09 14:35:13 -05:00
i2c.h mlxsw: Introduce support for I2C bus 2016-11-16 23:29:04 -05:00
ib.h mlxsw: switchx2: Add IB port support 2016-10-30 16:50:17 -04:00
item.h mlxsw: item: Add helpers for getting pointer into payload for char buffer item 2017-02-03 16:35:38 -05:00
Kconfig mlxsw: add psample dependency for spectrum 2017-02-07 11:44:12 -05:00
Makefile mlxsw: spectrum: Add support for counter allocator 2017-03-12 23:50:13 -07:00
minimal.c mlxsw: minimal: Add I2C support for Mellanox ASICs 2016-11-16 23:29:04 -05:00
pci_hw.h mlxsw: pci: Fix EQE structure definition 2017-01-12 09:25:55 -05:00
pci.c mlxsw: pci: Remove unused bit 2017-03-08 23:17:38 -08:00
pci.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
port.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
reg.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-03-15 11:59:10 -07:00
resources.h mlxsw: spectrum: Add support for generic flow counter allocation 2017-03-12 23:50:13 -07:00
spectrum_acl_flex_keys.h mlxsw: spectrum: Add support for flower matches on VLAN ID, PCP 2017-03-09 18:35:35 -08:00
spectrum_acl_tcam.c mlxsw: spectrum_acl_tcam: Add support for retrieving TCAM entry activity 2017-03-12 23:50:14 -07:00
spectrum_acl.c mlxsw: spectrum: Add support for TC flower offload statistics 2017-03-12 23:50:15 -07:00
spectrum_buffers.c mlxsw: spectrum_buffers: Limit size of pools 2016-11-29 20:48:51 -05:00
spectrum_cnt.c mlxsw: spectrum: Add support for generic flow counter allocation 2017-03-12 23:50:13 -07:00
spectrum_cnt.h mlxsw: spectrum: Add support for generic flow counter allocation 2017-03-12 23:50:13 -07:00
spectrum_dcb.c mlxsw: spectrum: Do not override PAUSE settings 2016-08-08 12:57:27 -07:00
spectrum_flower.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-03-15 11:59:10 -07:00
spectrum_kvdl.c mlxsw: Introduce simplistic KVD linear area manager 2016-07-05 09:06:30 -07:00
spectrum_router.c ipv4: fib_rules: Dump FIB rules when registering FIB notifier 2017-03-16 10:18:34 -07:00
spectrum_switchdev.c mlxsw: spectrum: Update mc_disabled flag by switchdev attr 2017-02-10 11:46:41 -05:00
spectrum.c mlxsw: spectrum: Add support for TC flower offload statistics 2017-03-12 23:50:15 -07:00
spectrum.h mlxsw: spectrum: Add support for TC flower offload statistics 2017-03-12 23:50:15 -07:00
switchib.c mlxsw: Change trap groups setting 2016-11-25 21:22:14 -05:00
switchx2.c net: mellanox: switchx2: use new api ethtool_{get|set}_link_ksettings 2017-02-08 14:35:26 -05:00
trap.h mlxsw: spectrum: Add packet sample offloading support 2017-01-24 13:44:28 -05:00
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00