Module Name: src
Committed By: yamaguchi
Date: Mon Oct 16 07:57:40 UTC 2023
Modified Files:
src/tests/net/if_lagg: t_lagg.sh
Log Message:
Make the lagg interface up before change its MTU
This change is related to PR kern/57650
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/net/if_lagg/t_lagg.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/net/if_lagg/t_lagg.sh
diff -u src/tests/net/if_lagg/t_lagg.sh:1.8 src/tests/net/if_lagg/t_lagg.sh:1.9
--- src/tests/net/if_lagg/t_lagg.sh:1.8 Thu Mar 31 03:26:33 2022
+++ src/tests/net/if_lagg/t_lagg.sh Mon Oct 16 07:57:40 2023
@@ -1,4 +1,4 @@
-# $NetBSD: t_lagg.sh,v 1.8 2022/03/31 03:26:33 yamaguchi Exp $
+# $NetBSD: t_lagg.sh,v 1.9 2023/10/16 07:57:40 yamaguchi Exp $
#
# Copyright (c) 2021 Internet Initiative Japan Inc.
# All rights reserved.
@@ -407,6 +407,7 @@ lagg_mtu_body()
atf_check -s exit:0 -o match:"mtu *$mtu_small" rump.ifconfig shmif2
# change MTU of lagg0
+ $atf_ifconfig lagg0 up
$atf_ifconfig lagg0 mtu 1500
atf_check -s exit:0 -o match:"mtu *1500" rump.ifconfig lagg0
atf_check -s exit:0 -o match:"mtu *1500" rump.ifconfig shmif0