From 60b434b1536dea17878ea40aba2a486038e1f991 Mon Sep 17 00:00:00 2001 From: msaitoh Date: Wed, 25 Mar 2015 12:53:55 +0000 Subject: [PATCH] Fix a bug that vlan setting may not apply to the parent interface correctly. --- sys/dev/pci/ixgbe/ixgbe.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/ixgbe/ixgbe.c b/sys/dev/pci/ixgbe/ixgbe.c index 847bc850d7b9..d016638ee74c 100644 --- a/sys/dev/pci/ixgbe/ixgbe.c +++ b/sys/dev/pci/ixgbe/ixgbe.c @@ -59,7 +59,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ /*$FreeBSD: src/sys/dev/ixgbe/ixgbe.c,v 1.51 2011/04/25 23:34:21 jfv Exp $*/ -/*$NetBSD: ixgbe.c,v 1.22 2015/03/19 14:22:23 msaitoh Exp $*/ +/*$NetBSD: ixgbe.c,v 1.23 2015/03/25 12:53:55 msaitoh Exp $*/ #include "opt_inet.h" #include "opt_inet6.h" @@ -1085,6 +1085,9 @@ ixgbe_ifflags_cb(struct ethercom *ec) else if ((change & (IFF_PROMISC | IFF_ALLMULTI)) != 0) ixgbe_set_promisc(adapter); + /* Set up VLAN support and filter */ + ixgbe_setup_vlan_hw_support(adapter); + IXGBE_CORE_UNLOCK(adapter); return rc;