summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2019-01-21 00:23:39 +0000
committerjmatthew <jmatthew@openbsd.org>2019-01-21 00:23:39 +0000
commit45e31cb985cfe31fdfac0c9c4f7a6fb8dd6ef287 (patch)
treee8583ea3580b8c403ba9bf3f9851abaf36142f4d
parentReplace the default mac filter with one that ignores vlans, and enable (diff)
downloadwireguard-openbsd-45e31cb985cfe31fdfac0c9c4f7a6fb8dd6ef287.tar.xz
wireguard-openbsd-45e31cb985cfe31fdfac0c9c4f7a6fb8dd6ef287.zip
also add a mac filter that ignores vlans for the broadcast address, so we can
see arp requests on vlans, among other things. ok dlg@
-rw-r--r--sys/dev/pci/if_ixl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ixl.c b/sys/dev/pci/if_ixl.c
index e14b41d1ef1..61ed8346db7 100644
--- a/sys/dev/pci/if_ixl.c
+++ b/sys/dev/pci/if_ixl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ixl.c,v 1.13 2019/01/20 23:44:58 jmatthew Exp $ */
+/* $OpenBSD: if_ixl.c,v 1.14 2019/01/21 00:23:39 jmatthew Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
@@ -1621,6 +1621,8 @@ ixl_attach(struct device *parent, struct device *self, void *aux)
IXL_AQ_OP_REMOVE_MACVLAN_IGNORE_VLAN);
ixl_add_macvlan(sc, sc->sc_ac.ac_enaddr, 0,
IXL_AQ_OP_ADD_MACVLAN_IGNORE_VLAN);
+ ixl_add_macvlan(sc, etherbroadcastaddr, 0,
+ IXL_AQ_OP_ADD_MACVLAN_IGNORE_VLAN);
ixl_intr_enable(sc);