The branch stable/12 has been updated by kp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6d3ebc9bfcd814be6526237ee28f46228ac6c292

commit 6d3ebc9bfcd814be6526237ee28f46228ac6c292
Author:     Kristof Provost <[email protected]>
AuthorDate: 2021-01-07 21:24:38 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2021-01-20 14:16:05 +0000

    pf: Copy kif flags to userspace
    
    This was overlooked in the pfi_kkif/pfi_kif splitup and as a result
    userspace could no longer tell which interfaces had the skip flag
    applied.
    
    MFC after:      2 weeks
    
    (cherry picked from commit 0fcb03fbaca1307175edc96355c867471db309f8)
---
 sys/netpfil/pf/pf_if.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/netpfil/pf/pf_if.c b/sys/netpfil/pf/pf_if.c
index 9ca404174cca..48733d351a24 100644
--- a/sys/netpfil/pf/pf_if.c
+++ b/sys/netpfil/pf/pf_if.c
@@ -815,6 +815,7 @@ pf_kkif_to_kif(const struct pfi_kkif *kkif, struct pfi_kif 
*kif)
                        }
                }
        }
+       kif->pfik_flags = kkif->pfik_flags;
        kif->pfik_tzero = kkif->pfik_tzero;
        kif->pfik_rulerefs = kkif->pfik_rulerefs;
 }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to