forked from Minki/linux
selftests: rtnetlink: try concurrent change of ifalias
to make sure this is serialized correctly. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5c45121dc3
commit
e9b871ee09
@ -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 $?
|
||||
|
Loading…
Reference in New Issue
Block a user