Module Name:    src
Committed By:   yamaguchi
Date:           Tue Oct 19 08:02:42 UTC 2021

Modified Files:
        src/sys/net/lagg: if_lagg.c

Log Message:
lagg: reject a vlan interface that is not configured

The vlan I/F has no MAC address used in LACP.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/net/lagg/if_lagg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/lagg/if_lagg.c
diff -u src/sys/net/lagg/if_lagg.c:1.15 src/sys/net/lagg/if_lagg.c:1.16
--- src/sys/net/lagg/if_lagg.c:1.15	Tue Oct 19 07:52:33 2021
+++ src/sys/net/lagg/if_lagg.c	Tue Oct 19 08:02:42 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_lagg.c,v 1.15 2021/10/19 07:52:33 yamaguchi Exp $	*/
+/*	$NetBSD: if_lagg.c,v 1.16 2021/10/19 08:02:42 yamaguchi Exp $	*/
 
 /*
  * Copyright (c) 2005, 2006 Reyk Floeter <r...@openbsd.org>
@@ -20,7 +20,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.15 2021/10/19 07:52:33 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.16 2021/10/19 08:02:42 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2271,7 +2271,6 @@ lagg_port_setup(struct lagg_softc *sc,
 
 	switch (ifp_port->if_type) {
 	case IFT_ETHER:
-	case IFT_L2VLAN:
 	case IFT_L2TP:
 		if_type = IFT_IEEE8023ADLAG;
 		break;

Reply via email to