mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
selftests: net: fix spelling and grammar mistakes
Fix several spelling and grammatical mistakes in output messages from the net selftests to improve readability. Only the message strings for the test output have been modified. No changes to the functional logic of the tests have been made. Signed-off-by: Praveen Balakrishnan <praveen.balakrishnan@magd.ox.ac.uk> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250828211100.51019-1-praveen.balakrishnan@magd.ox.ac.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
5a8c02a6bf
commit
c85ae0240e
|
|
@ -1877,7 +1877,7 @@ class OvsPacket(GenericNetlinkSocket):
|
|||
elif msg["cmd"] == OvsPacket.OVS_PACKET_CMD_EXECUTE:
|
||||
up.execute(msg)
|
||||
else:
|
||||
print("Unkonwn cmd: %d" % msg["cmd"])
|
||||
print("Unknown cmd: %d" % msg["cmd"])
|
||||
except NetlinkError as ne:
|
||||
raise ne
|
||||
|
||||
|
|
|
|||
|
|
@ -54,16 +54,16 @@ cleanup
|
|||
|
||||
echo 1 > /proc/sys/net/core/rps_default_mask
|
||||
setup
|
||||
chk_rps "changing rps_default_mask dont affect existing devices" "" lo $INITIAL_RPS_DEFAULT_MASK
|
||||
chk_rps "changing rps_default_mask doesn't affect existing devices" "" lo $INITIAL_RPS_DEFAULT_MASK
|
||||
|
||||
echo 3 > /proc/sys/net/core/rps_default_mask
|
||||
chk_rps "changing rps_default_mask dont affect existing netns" $NETNS lo 0
|
||||
chk_rps "changing rps_default_mask doesn't affect existing netns" $NETNS lo 0
|
||||
|
||||
ip link add name $VETH type veth peer netns $NETNS name $VETH
|
||||
ip link set dev $VETH up
|
||||
ip -n $NETNS link set dev $VETH up
|
||||
chk_rps "changing rps_default_mask affect newly created devices" "" $VETH 3
|
||||
chk_rps "changing rps_default_mask don't affect newly child netns[II]" $NETNS $VETH 0
|
||||
chk_rps "changing rps_default_mask affects newly created devices" "" $VETH 3
|
||||
chk_rps "changing rps_default_mask doesn't affect newly child netns[II]" $NETNS $VETH 0
|
||||
ip link del dev $VETH
|
||||
ip netns del $NETNS
|
||||
|
||||
|
|
@ -72,8 +72,8 @@ chk_rps "rps_default_mask is 0 by default in child netns" "$NETNS" lo 0
|
|||
|
||||
ip netns exec $NETNS sysctl -qw net.core.rps_default_mask=1
|
||||
ip link add name $VETH type veth peer netns $NETNS name $VETH
|
||||
chk_rps "changing rps_default_mask in child ns don't affect the main one" "" lo $INITIAL_RPS_DEFAULT_MASK
|
||||
chk_rps "changing rps_default_mask in child ns doesn't affect the main one" "" lo $INITIAL_RPS_DEFAULT_MASK
|
||||
chk_rps "changing rps_default_mask in child ns affects new childns devices" $NETNS $VETH 1
|
||||
chk_rps "changing rps_default_mask in child ns don't affect existing devices" $NETNS lo 0
|
||||
chk_rps "changing rps_default_mask in child ns doesn't affect existing devices" $NETNS lo 0
|
||||
|
||||
exit $ret
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user