git: pf: rename pf_task_lck to pf_mod_lck

Jan Lentfer lentferj at crater.dragonflybsd.org
Thu Aug 26 07:00:28 PDT 2010


commit 4e28d64faea342691c2287d675a9ca5786c8fc27
Author: Jan Lentfer <Jan.Lentfer at web.de>
Date:   Thu Aug 26 15:52:07 2010 +0200

    pf: rename pf_task_lck to pf_mod_lck
    
        pf_task_lck was really just used in module (un)loading.
        This makes pf_task_lck free for later usage as a spin lock to
        protect data structues simialar to how it is used in FreeBSD.
    
        Also functions regarding pf_task_lck have been remove as these
        are one-liners anyway. Having a separate function for this
        is overkill.

Summary of changes:
 sys/net/pf/pf_ioctl.c |   23 +++++------------------
 1 files changed, 5 insertions(+), 18 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list