diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-05-16 17:09:35 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-05-16 17:09:35 +0000 |
commit | 3033e8026a0f74d055c239a84d486913549b8b46 (patch) | |
tree | cf2006a6e17581f16ba8e4ba5f55d883d0a241e2 /sys | |
parent | 74eafa88cf543527fd52a8078c3417dd4bc24f55 (diff) | |
download | src-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.c | 2 |
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); } |