mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Correct a typo in the previous revision.
This commit is contained in:
parent
f7ebc7ceb7
commit
12ef9d214b
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ sf_buf_alloc(struct vm_page *m, int flags)
|
|||
mtx_lock(&sf_freelist.sf_lock);
|
||||
while ((sf = SLIST_FIRST(&sf_freelist.sf_head)) == NULL) {
|
||||
if (flags & SFB_NOWAIT)
|
||||
goto break;
|
||||
break;
|
||||
sf_buf_alloc_want++;
|
||||
mbstat.sf_allocwait++;
|
||||
error = msleep(&sf_freelist, &sf_freelist.sf_lock,
|
||||
|
|
|
|||
Loading…
Reference in a new issue