diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2024-07-23 10:22:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-07-24 13:50:28 +0200 |
commit | 863ff546fb62a8fa75757a30794ab6ec6cc4bab7 (patch) | |
tree | 74e32296404bbb29c916afe9f234b91fd73d405d /drivers/net/ethernet | |
parent | tipc: Return non-zero value from tipc_udp_addr2str() on error (diff) | |
download | linux-863ff546fb62a8fa75757a30794ab6ec6cc4bab7.tar.xz linux-863ff546fb62a8fa75757a30794ab6ec6cc4bab7.zip |
selftests: forwarding: skip if kernel not support setting bridge fdb learning limit
If the testing kernel doesn't support setting fdb_max_learned or show
fdb_n_learned, just skip it. Or we will get errors like
./bridge_fdb_learning_limit.sh: line 218: [: null: integer expression expected
./bridge_fdb_learning_limit.sh: line 225: [: null: integer expression expected
Fixes: 6f84090333bb ("selftests: forwarding: bridge_fdb_learning_limit: Add a new selftest")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Johannes Nixdorf <jnixdorf-oss@avm.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions