The branch main has been updated by kp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=441d15a4825c44bfea70e6e2b8317f2691dbf1c6

commit 441d15a4825c44bfea70e6e2b8317f2691dbf1c6
Author:     Kristof Provost <k...@freebsd.org>
AuthorDate: 2021-07-26 11:51:22 +0000
Commit:     Kristof Provost <k...@freebsd.org>
CommitDate: 2021-07-28 20:03:38 +0000

    bridge tests: verify that we can't change MTU of bridge member interfaces
    
    Reviewed by:    donner
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D31305
---
 tests/sys/net/if_bridge_test.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/sys/net/if_bridge_test.sh b/tests/sys/net/if_bridge_test.sh
index da797f4fd39a..3c0a31ca1076 100755
--- a/tests/sys/net/if_bridge_test.sh
+++ b/tests/sys/net/if_bridge_test.sh
@@ -577,6 +577,11 @@ mtu_body()
        check_mtu ${bridge} 2000
        check_mtu ${gif} 2000
        check_mtu ${epair}a 2000
+
+       # We're not allowed to change the MTU of a member interface
+       atf_check -s exit:1 -e ignore \
+               ifconfig ${epair}a mtu 1900
+       check_mtu ${epair}a 2000
 }
 
 mtu_cleanup()
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to