PERFORCE change 142638 for review
Gleb Kurtsou
gk at FreeBSD.org
Sat May 31 17:03:35 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=142638
Change 142638 by gk at gk_h1 on 2008/05/31 17:03:05
It's ok to call malloc(M_WAITOK) here
Affected files ...
.. //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw_pfil.c#3 edit
Differences ...
==== //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw_pfil.c#3 (text+ko) ====
@@ -577,8 +577,8 @@
pfh_ether = pfil_head_get(PFIL_TYPE_IFT, IFT_ETHER);
if (pfh_ether != NULL) {
- pfil_remove_hook(ipfw_ether_check_in, NULL, PFIL_IN , pfh_ether);
- pfil_remove_hook(ipfw_ether_check_out, NULL, PFIL_OUT, pfh_ether);
+ pfil_remove_hook(ipfw_ether_check_in, NULL, PFIL_IN | PFIL_WAITOK, pfh_ether);
+ pfil_remove_hook(ipfw_ether_check_out, NULL, PFIL_OUT | PFIL_WAITOK, pfh_ether);
}
if (pfh_inet == NULL || pfh_ether == NULL)
More information about the p4-projects
mailing list