diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-09-13 12:11:05 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-09-13 12:11:05 +0000 |
commit | e3f2075749379ea50fffb8a4590e38627fa43f9e (patch) | |
tree | df3f7b04bb39448b6d6e366416436ac1e1a38694 /sys/dev/pci/if_an_pci.c | |
parent | 9f7a761da34f11b13cabc604aeef3eb6b708481f (diff) |
replace the node hash table with a red-black tree. this fixes some
bugs in the node table (like duplicate nodes in hostap mode), we get
rid of possible hash collisions, and it simplifies the code.
tested by many, ok damien@, jsg@
Diffstat (limited to 'sys/dev/pci/if_an_pci.c')
-rw-r--r-- | sys/dev/pci/if_an_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_an_pci.c b/sys/dev/pci/if_an_pci.c index 81cc66b4545..aab624edd18 100644 --- a/sys/dev/pci/if_an_pci.c +++ b/sys/dev/pci/if_an_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_an_pci.c,v 1.11 2005/08/09 04:10:11 mickey Exp $ */ +/* $OpenBSD: if_an_pci.c,v 1.12 2005/09/13 12:11:03 reyk Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -59,6 +59,7 @@ #include <sys/device.h> #include <sys/timeout.h> #include <sys/socket.h> +#include <sys/mbuf.h> #include <net/if.h> #include <net/if_dl.h> |