Skip to content
Commit 61fa2493 authored by Hangbin Liu's avatar Hangbin Liu Committed by David S. Miller
Browse files

selftests: bonding: do not set port down when adding to bond

Similar to commit be809424 ("selftests: bonding: do not set port down
before adding to bond"). The bond-arp-interval-causes-panic test failed
after commit a4abfa62 ("net: rtnetlink: Enslave device before bringing
it up") as the kernel will set the port down _after_ adding to bond if setting
port down specifically.

Fix it by removing the link down operation when adding to bond.

Fixes: 2ffd5732

 ("selftests: bonding: cause oops in bond_rr_gen_slave_id")
Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Tested-by: default avatarBenjamin Poirier <benjamin.poirier@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c46bfba1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment