Fix DIOCADDSTATE operation.

This commit is contained in:
Gleb Smirnoff 2013-05-11 17:58:26 +00:00
parent b69d74e834
commit 048c95417d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250519

View File

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