git: if_pflog: Explicitly depend on "pf" and various cleanups

Aaron LI aly at crater.dragonflybsd.org
Wed Aug 8 02:10:38 PDT 2018


commit a6ccd68b08eff10c57551f8fe92f39a5b8ae6c48
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jun 21 09:31:44 2018 +0800

    if_pflog: Explicitly depend on "pf" and various cleanups
    
    * Explicitly depend on the "pf" module to make sure it is initialized
      later than the "pf" main module.
    
    * Fix a missing lwkt token release in pflog_clone_create().
    
    * Remove unnecessary kmalloc() check.
    
    * Use if_initname() to properly set up if_{xname,dname,dunit}.
    
    * Use pflogattach() in module load event handle.
    
    * Staticize functions and variables.
    
    * Remove the unused pflogrtrequest() function.
    
    * Remove the "old_pfloghdr" struct from if_pflog.h.
    
    * Mark some __unused variables.

Summary of changes:
 sys/net/pf/if_pflog.c | 84 +++++++++++++++++++++++----------------------------
 sys/net/pf/if_pflog.h | 11 -------
 2 files changed, 37 insertions(+), 58 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a6ccd68b08eff10c57551f8fe92f39a5b8ae6c48


-- 
DragonFly BSD source repository



More information about the Commits mailing list