network - Remove crit_exit/crit_enter wrappers in pf.c
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Sep 2010 23:38:37 +0000 (16:38 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Sep 2010 23:38:37 +0000 (16:38 -0700)
commitb8a167909d6e02262d0f8fa42ae3e75a2febc3b0
tree867d3489dcdfe9891152d936b6a3de8e636d46ee
parent5bd0853245defc31dd20f12ea567749800e54e72
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
sys/dev/netif/fxp/if_fxp.c
sys/net/pf/pf.c