git: DragonFly_RELEASE_5_2 kernel/pf: MFC some fixes from master.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Sep 26 23:43:47 PDT 2018


commit 4fdcfd54827d7224f6ebfef020f3e56b6d8a0583
Author: Sascha Wildner <saw at online.de>
Date:   Thu Sep 27 08:43:30 2018 +0200

    kernel/pf: MFC some fixes from master.
    
    * Use the right macro name for checking bpf (NBPFILTER -> NBPF), which
      is defined in use_bpf.h.
    
    * Conditionalize bpfattach().
    
    The net win is that the bpfdetach() in the clone destruction path will
    be called now.

Summary of changes:
 sys/net/pf/Makefile   |  7 ++++---
 sys/net/pf/if_pflog.c | 10 ++++++----
 2 files changed, 10 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4fdcfd54827d7224f6ebfef020f3e56b6d8a0583


-- 
DragonFly BSD source repository



More information about the Commits mailing list