Fix DIOCADDSTATE operation.
This commit is contained in:
parent
b69d74e834
commit
048c95417d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250519
@ -1691,7 +1691,7 @@ pfioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *td
|
||||
PF_RULES_RLOCK();
|
||||
error = pfsync_state_import_ptr(sp, PFSYNC_SI_IOCTL);
|
||||
PF_RULES_RUNLOCK();
|
||||
}
|
||||
} else
|
||||
error = EOPNOTSUPP;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user