Date: Sat, 31 May 2008 17:03:34 GMT From: Gleb Kurtsou <gk@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 142638 for review Message-ID: <200805311703.m4VH3YCB048275@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=142638 Change 142638 by gk@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805311703.m4VH3YCB048275>