diff options
author | 2014-08-18 13:29:13 +0000 | |
---|---|---|
committer | 2014-08-18 13:29:13 +0000 | |
commit | 90ac40a50a83ec4b440670fc6857952e5f37699d (patch) | |
tree | 9a79a509d61bb62745a2dd6c41f2e6687cad4be0 | |
parent | kristaps@ found this with valgrind, merge his patch from bsd.lv: (diff) | |
download | wireguard-openbsd-90ac40a50a83ec4b440670fc6857952e5f37699d.tar.xz wireguard-openbsd-90ac40a50a83ec4b440670fc6857952e5f37699d.zip |
this uses pools, but relied on mbuf.h to provide them.
found by benoit@
-rw-r--r-- | sys/arch/sparc64/dev/vnet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c index 7684fb0cc30..033db5aad9a 100644 --- a/sys/arch/sparc64/dev/vnet.c +++ b/sys/arch/sparc64/dev/vnet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnet.c,v 1.33 2014/07/12 18:44:43 tedu Exp $ */ +/* $OpenBSD: vnet.c,v 1.34 2014/08/18 13:29:13 dlg Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -20,6 +20,7 @@ #include <sys/param.h> #include <sys/device.h> #include <sys/malloc.h> +#include <sys/pool.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/sockio.h> |