DragonFly BSD
DragonFly commits List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: network - Remove crit_exit/crit_enter wrappers in pf.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Sep 2010 16:40:15 -0700 (PDT)

commit b8a167909d6e02262d0f8fa42ae3e75a2febc3b0
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Sep 17 16:38:37 2010 -0700

    network - Remove crit_exit/crit_enter wrappers in pf.c
    
    * Note I'm talking about exit/enter wrappers, not enter/exit wrappers.
      I believe the enter/exit wrappers can be removed too but for now
      we have to remove the exit/enter wrappers which assumed a critical
      section would be held on entry.
    
      This is no longer the case.  Since so much of the network stack is
      now threaded callers into PF are not necessarily holding a critical
      section to exit out of.
    
    Reported-by: lentferj, Rumko

Summary of changes:
 sys/dev/netif/fxp/if_fxp.c |    7 ++++---
 sys/net/pf/pf.c            |   24 ++----------------------
 2 files changed, 6 insertions(+), 25 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]