DragonFly commits List (threaded) for 2010-09
git: network - Remove crit_exit/crit_enter wrappers in pf.c
Author: Matthew Dillon <email@example.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(-)
DragonFly BSD source repository