diff options
author | Yuval Mintz <yuvalm@mellanox.com> | 2018-02-28 23:29:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-01 13:13:23 -0500 |
commit | 7b0db85737db3f4d76b2a412e4f19eae59b8b494 (patch) | |
tree | 9cde582f7276b75ffb8ea39e0c1b8cd07218a85b /net/smc/smc_clc.c | |
parent | 889cd83cbe411dda854429f3223ab2d31a860a4a (diff) | |
download | lwn-7b0db85737db3f4d76b2a412e4f19eae59b8b494.tar.gz lwn-7b0db85737db3f4d76b2a412e4f19eae59b8b494.zip |
ipmr, ip6mr: Unite dumproute flows
The various MFC entries are being held in the same kind of mr_tables
for both ipmr and ip6mr, and their traversal logic is identical.
Also, with the exception of the addresses [and other small tidbits]
the major bulk of the nla setting is identical.
Unite as much of the dumping as possible between the two.
Notice this requires creating an mr_table iterator for each, as the
for-each preprocessor macro can't be used by the common logic.
Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_clc.c')
0 files changed, 0 insertions, 0 deletions