Commit add25d6d authored by Jianguo Wu's avatar Jianguo Wu Committed by Jakub Kicinski

selftests: net: Fix a typo in udpgro_fwd.sh

$rvs -> $rcv

Fixes: a062260a ("selftests: net: add UDP GRO forwarding self-tests")
Signed-off-by: default avatarJianguo Wu <wujianguo@chinatelecom.cn>
Link: https://lore.kernel.org/r/d247d7c8-a03a-0abf-3c71-4006a051d133@163.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9c1952ae
...@@ -132,7 +132,7 @@ run_test() { ...@@ -132,7 +132,7 @@ run_test() {
local rcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 8000' | \ local rcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 8000' | \
sed -e 's/\[//' -e 's/:.*//'` sed -e 's/\[//' -e 's/:.*//'`
if [ $rcv != $pkts ]; then if [ $rcv != $pkts ]; then
echo " fail - received $rvs packets, expected $pkts" echo " fail - received $rcv packets, expected $pkts"
ret=1 ret=1
return return
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment