summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2001-03-22 16:30:13 +0000
committerniklas <niklas@openbsd.org>2001-03-22 16:30:13 +0000
commit59a76f43b194a72c89d781d08d72bf774ae5e2f8 (patch)
treec01c649a197d20e2910917af8e2b2f81094c3ea5
parentBSD/OS make treats ${A:S/a/x/} like ${A:S/a/x/1}, so we use ${A:S/a/x/g}. (diff)
downloadwireguard-openbsd-59a76f43b194a72c89d781d08d72bf774ae5e2f8.tar.xz
wireguard-openbsd-59a76f43b194a72c89d781d08d72bf774ae5e2f8.zip
Longstanding multicast bug causing eternal looping, unveiled by a recent commit
-rw-r--r--sys/dev/pci/if_ti.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index 15b04c46fd0..fb6ad498f07 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.16 2001/03/14 20:11:39 jason Exp $ */
+/* $OpenBSD: if_ti.c,v 1.17 2001/03/22 16:30:13 niklas Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1127,6 +1127,7 @@ void ti_setmulti(sc)
bcopy(enm->enm_addrlo, (char *)&mc->mc_addr, ETHER_ADDR_LEN);
LIST_INSERT_HEAD(&sc->ti_mc_listhead, mc, mc_entries);
ti_add_mcast(sc, &mc->mc_addr);
+ ETHER_NEXT_MULTI(step, enm);
}
/* Re-enable interrupts. */