Catch up with new ng_package_data(). Use NG_WAITOK on userland
path.
This commit is contained in:
parent
74eafa88cf
commit
3033e8026a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146284
@ -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