aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorHangbin Liu <[email protected]>2023-08-17 16:24:59 +0800
committerJakub Kicinski <[email protected]>2023-08-21 19:05:42 -0700
commitbe809424659c2844a2d7ab653aacca4898538023 (patch)
tree5dd88b50eafb91c9ae5215fa59769e1e042d0dd6 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentd1cdbf66e18cd39dd749937221240ab97c06d9e6 (diff)
selftests: bonding: do not set port down before adding to bond
Before adding a port to bond, it need to be set down first. In the lacpdu test the author set the port down specifically. But commit a4abfa627c38 ("net: rtnetlink: Enslave device before bringing it up") changed the operation order, the kernel will set the port down _after_ adding to bond. So all the ports will be down at last and the test failed. In fact, the veth interfaces are already inactive when added. This means there's no need to set them down again before adding to the bond. Let's just remove the link down operation. Fixes: a4abfa627c38 ("net: rtnetlink: Enslave device before bringing it up") Reported-by: Zhengchao Shao <[email protected]> Closes: https://lore.kernel.org/netdev/[email protected]/ Signed-off-by: Hangbin Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions