]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/ip6_fw.c
xnu-201.42.3.tar.gz
[apple/xnu.git] / bsd / netinet6 / ip6_fw.c
index 7777c4c6b627504fc87c86732138e0f12521eebf..0a7943e02a3b322031583de7e6f28b6f2102a04c 100644 (file)
@@ -14,7 +14,7 @@
  *
  * This software is provided ``AS IS'' without any warranties of any kind.
  *
- *     $Id: ip6_fw.c,v 1.2 2000/09/14 20:35:14 lindak Exp $
+ *     $Id: ip6_fw.c,v 1.3 2001/05/01 21:52:50 lindak Exp $
  */
 
 /*
@@ -840,8 +840,8 @@ add_entry6(struct ip6_fw_head *chainptr, struct ip6_fw *frwl)
        u_short nbr = 0;
        int s;
 
-       fwc = _MALLOC(sizeof *fwc, M_IP6FW, M_DONTWAIT);
-       ftmp = _MALLOC(sizeof *ftmp, M_IP6FW, M_DONTWAIT);
+       fwc = _MALLOC(sizeof *fwc, M_IP6FW, M_NOWAIT);
+       ftmp = _MALLOC(sizeof *ftmp, M_IP6FW, M_NOWAIT);
        if (!fwc || !ftmp) {
                dprintf(("%s malloc said no\n", err_prefix));
                if (fwc)  _FREE(fwc, M_IP6FW);