mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
selftests: bonding: do not set port down when adding to bond
Similar to commitbe80942465("selftests: bonding: do not set port down before adding to bond"). The bond-arp-interval-causes-panic test failed after commita4abfa627c("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:2ffd57327f("selftests: bonding: cause oops in bond_rr_gen_slave_id") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Tested-by: Benjamin Poirier <benjamin.poirier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c46bfba133
commit
61fa2493ca
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue