]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfsync: Fix state sync during initial bulk update
authorkp <kp@FreeBSD.org>
Sat, 30 Jun 2018 12:51:08 +0000 (12:51 +0000)
committerkp <kp@FreeBSD.org>
Sat, 30 Jun 2018 12:51:08 +0000 (12:51 +0000)
commit87342816158f13c9f254092a09fcea39d4be239e
treeaf782d26dc1c9f5f2271c94e9ce20dd02bd6084d
parent72fc61d16121fa8dbd718bf2d078abd312560ca6
pfsync: Fix state sync during initial bulk update

States learned via pfsync from a peer with the same ruleset checksum were not
getting assigned to rules like they should because pfsync_in_upd() wasn't
passing the PFSYNC_SI_CKSUM flag along to pfsync_state_import.

PR: 229092
Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
Obtained from: OpenBSD
MFC after: 1 week
Sponsored by: InnoGames GmbH
sys/netpfil/pf/if_pfsync.c