Catch up with new ng_package_data(). Use NG_WAITOK on userland

path.
This commit is contained in:
glebius 2005-05-16 17:09:35 +00:00
parent 45938d54d3
commit 697612a8ec

View File

@ -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);
}