OpenBSD cvs log

created 2022-02-21T09:59:14Z
begin 2022-02-16T02:22:39Z
end 2022-02-16T04:25:34Z
path src/sys
commits 1

date 2022-02-16T04:25:34Z
author dlg
files src/sys/net/pf_ioctl.c log diff annotate
message check pf rule "set prio" values consistently.

consistently means we do the check in pf_rule_copyin() so both
DIOCADDRULE and DIOCCHANGERULE have the prio values checked. this in
turn prevents invalid prio values getting set on a rule via
DIOCCHANGERULE.

this was caught by a kassert in the ifq priq code firing.

Reported-by: [email protected]
ok sashan@