]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc946d618a7c8c928630dd37db9fd682ea7ee70f6
treea8baab4cc532015b4bfd3bf3c5d0833ffac7cfd4
parente68f091e4a33eb3ef6ffe99721b537eb2fdf32e2
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]