summaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-02-13 08:37:36 -0800
committerDavid S. Miller <davem@davemloft.net>2018-02-13 14:34:28 -0500
commite2ba732a1681d907a6dffbaf9802aebcac233099 (patch)
tree621fd561ed3ec2ffe9c94dc33f7abee560662e91 /net/dsa/dsa.c
parentee395a5e722c8c7e85641c3017de8f64209ff04f (diff)
downloadlinux-e2ba732a1681d907a6dffbaf9802aebcac233099.tar.bz2
selftests: fib_tests: sleep after changing carrier
sleep for a second after setting carrier down to allow linkwatch to propagate the change to the routing stack via netdev_state_change. As it stands there is a race setting carrier down on the dummy device and then checking the linkdown flag in the routes. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions