]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Apply kif flags to new group members
authorkp <kp@FreeBSD.org>
Thu, 23 Jan 2020 22:13:41 +0000 (22:13 +0000)
committerkp <kp@FreeBSD.org>
Thu, 23 Jan 2020 22:13:41 +0000 (22:13 +0000)
commit95e3476bfd5ece4a3b3def00e5a582cd1ddb8c93
tree157cbfb8301786ba4134b6d0083b813c7cfced60
parent1b03f50a3e6d7c317d96793d52b14485e28ad4c4
pf: Apply kif flags to new group members

If we have a 'set skip on <ifgroup>' rule this flag it set on the group
kif, but must also be set on all members. pfctl does this when the rules
are set, but if groups are added afterwards we must also apply the flags
to the new member. If not, new group members will not be skipped until
the rules are reloaded.

Reported by: dvl@
Reviewed by: glebius@
Differential Revision: https://reviews.freebsd.org/D23254
sys/netpfil/pf/pf_if.c