projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c45121
)
selftests: rtnetlink: try concurrent change of ifalias
author
Florian Westphal
<fw@strlen.de>
Wed, 4 Oct 2017 14:22:59 +0000
(16:22 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Oct 2017 17:33:59 +0000
(10:33 -0700)
to make sure this is serialized correctly.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/rtnetlink.sh
patch
|
blob
|
blame
|
history
diff --git
a/tools/testing/selftests/net/rtnetlink.sh
b/tools/testing/selftests/net/rtnetlink.sh
index 62c87da927708b3b1315615ca5296dc03ccafae6..e8c86c416ed04751e0cf07daa2ca7543556db09b 100755
(executable)
--- a/
tools/testing/selftests/net/rtnetlink.sh
+++ b/
tools/testing/selftests/net/rtnetlink.sh
@@
-278,6
+278,12
@@
kci_test_ifalias()
ip link show "$devdummy" | grep -q "alias $namewant"
check_fail $?
+ for i in $(seq 1 100); do
+ uuidgen > "$syspathname" &
+ done
+
+ wait
+
# re-add the alias -- kernel should free mem when dummy dev is removed
ip link set dev "$devdummy" alias "$namewant"
check_err $?