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

看板DFBSD_commit作者時間15年前 (2010/09/18 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
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
文章代碼(AID): #1Cb051HK (DFBSD_commit)
文章代碼(AID): #1Cb051HK (DFBSD_commit)