Annotation of elwix/patches/freebsd.pf.tableref.inline.anchor.PR183198.patch, revision 1.2
1.2 ! misho 1: diff --git sys/netpfil/pf/pf_table.c sys/netpfil/pf/pf_table.c
! 2: index 595a365..4f1c21c 100644
! 3: --- sys/netpfil/pf/pf_table.c
! 4: +++ sys/netpfil/pf/pf_table.c
! 5: @@ -1746,7 +1746,8 @@ pfr_setflags_ktable(struct pfr_ktable *kt, int newf)
! 6: PF_RULES_WASSERT();
! 7:
! 8: if (!(newf & PFR_TFLAG_REFERENCED) &&
! 9: - !(newf & PFR_TFLAG_PERSIST))
! 10: + !(newf & PFR_TFLAG_PERSIST) &&
! 11: + !(newf & PFR_TFLAG_REFDANCHOR))
! 12: newf &= ~PFR_TFLAG_ACTIVE;
! 13: if (!(newf & PFR_TFLAG_ACTIVE))
! 14: newf &= ~PFR_TFLAG_USRMASK;
! 15: --
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>