]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests: net: Fix a typo in udpgro_fwd.sh
authorJianguo Wu <wujianguo@chinatelecom.cn>
Wed, 29 Dec 2021 07:27:30 +0000 (15:27 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Dec 2021 01:33:48 +0000 (17:33 -0800)
$rvs -> $rcv

Fixes: bd76c6556e64 ("selftests: net: add UDP GRO forwarding self-tests")
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Link: https://lore.kernel.org/r/d247d7c8-a03a-0abf-3c71-4006a051d133@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/udpgro_fwd.sh

index 7f26591f236b97d7af8cc9e5b028acc9397fd3c1..6a3985b8cd7f6ee50a2babf51e4c4234728dca20 100755 (executable)
@@ -132,7 +132,7 @@ run_test() {
        local rcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 8000' | \
                                                          sed -e 's/\[//' -e 's/:.*//'`
        if [ $rcv != $pkts ]; then
-               echo " fail - received $rvs packets, expected $pkts"
+               echo " fail - received $rcv packets, expected $pkts"
                ret=1
                return
        fi