aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-05-16 17:09:35 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-05-16 17:09:35 +0000
commit3033e8026a0f74d055c239a84d486913549b8b46 (patch)
treecf2006a6e17581f16ba8e4ba5f55d883d0a241e2 /sys
parent74eafa88cf543527fd52a8078c3417dd4bc24f55 (diff)
downloadsrc-3033e8026a0f74d055c239a84d486913549b8b46.tar.gz
src-3033e8026a0f74d055c239a84d486913549b8b46.zip
Catch up with new ng_package_data(). Use NG_WAITOK on userland
path.
Notes
Notes: svn path=/head/; revision=146284
Diffstat (limited to 'sys')
-rw-r--r--sys/netgraph/ng_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index 6f796d1872e9..125169cfd4dc 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -699,7 +699,7 @@ ng_connect_data(struct sockaddr *nam, struct ngpcb *pcbp)
sap = (struct sockaddr_ng *) nam;
/* The item will hold the node reference */
- item = ng_package_data(NULL, NULL);
+ item = ng_package_data(NULL, NG_WAITOK);
if (item == NULL) {
return (ENOMEM);
}