diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-07-03 10:36:25 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-07-05 11:52:33 +0200 |
commit | 1a635d3e1c80626237fdae47a5545b6655d8d81c (patch) | |
tree | e7735e52a77d8a86b18cf68252b99d36aa8c8e06 /lib/refcount.c | |
parent | b8e629b05f5d23f9649c901bef09fab8b0c2e4b9 (diff) | |
download | linux-stable-1a635d3e1c80626237fdae47a5545b6655d8d81c.tar.gz linux-stable-1a635d3e1c80626237fdae47a5545b6655d8d81c.tar.bz2 linux-stable-1a635d3e1c80626237fdae47a5545b6655d8d81c.zip |
selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
The first host interface has by default no interest in receiving packets
MAC DA de:ad:be:ef:13:37, so it might drop them before they hit the tc
filter and this might confuse the selftest.
Enable promiscuous mode such that the filter properly counts received
packets.
Fixes: d4deb01467ec ("selftests: forwarding: Add a test for FDB learning")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions