selftests: forwarding: test for bridge sticky flag
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 27 Sep 2018 13:35:13 +0000 (16:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:45:04 +0000 (10:45 -0700)
commita804e5e21875418af03e0a413a633f4643739c90
treea8baab4cc532015b4bfd3bf3c5d0833ffac7cfd4
parent1288aa7af20cfa25cb00cf0d77f94d1891644c83
selftests: forwarding: test for bridge sticky flag

This test adds an fdb entry with the sticky flag and sends traffic from
a different port with the same mac as a source address expecting the entry
to not change ports if the flag is operating correctly.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/bridge_sticky_fdb.sh [new file with mode: 0755]