[Midnightbsd-cvs] src [8923] trunk/sys/dev/wl/if_wl.c: switch to malloc flags

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 26 18:57:05 EDT 2016


Revision: 8923
          http://svnweb.midnightbsd.org/src/?rev=8923
Author:   laffer1
Date:     2016-09-26 18:57:05 -0400 (Mon, 26 Sep 2016)
Log Message:
-----------
switch to malloc flags

Modified Paths:
--------------
    trunk/sys/dev/wl/if_wl.c

Modified: trunk/sys/dev/wl/if_wl.c
===================================================================
--- trunk/sys/dev/wl/if_wl.c	2016-09-26 22:57:01 UTC (rev 8922)
+++ trunk/sys/dev/wl/if_wl.c	2016-09-26 22:57:05 UTC (rev 8923)
@@ -1,4 +1,4 @@
-/* $MidnightBSD: src/sys/dev/wl/if_wl.c,v 1.2 2008/12/02 22:43:17 laffer1 Exp $ */
+/* $MidnightBSD$ */
 /*-
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -1095,7 +1095,7 @@
     /*
      * Allocate a cluster'd mbuf to receive the packet.
      */
-    m = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR);
+    m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
     if (m == NULL) {
 	if (wlhwrst(sc) != TRUE) {
 	    sc->hacr &= ~HACR_INTRON;



More information about the Midnightbsd-cvs mailing list