net: Use NULL to signal lack of promisc/multicast
[akaros.git] / kern / drivers / net / bnx2x / bnx2x_vfpf.c
index d06383b..f982518 100644 (file)
@@ -17,7 +17,7 @@
  *            Ariel Elior <ariel.elior@qlogic.com>
  */
 
-#include "akaros_compat.h"
+#include <linux_compat.h>
 
 #include "bnx2x.h"
 #include "bnx2x_cmn.h"
@@ -1573,7 +1573,7 @@ static int bnx2x_vf_mbx_macvlan_list(struct bnx2x *bp,
              sizeof(struct bnx2x_vf_mac_vlan_filter) +
              sizeof(struct bnx2x_vf_mac_vlan_filters);
 
-       fl = kzmalloc(fsz, KMALLOC_WAIT);
+       fl = kzmalloc(fsz, MEM_WAIT);
        if (!fl)
                return -ENOMEM;