Catch up with new ng_package_data(). Use NG_WAITOK on userland
path.
This commit is contained in:
parent
45938d54d3
commit
697612a8ec
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user