net: Use NULL to signal lack of promisc/multicast
[akaros.git] / kern / drivers / net / bnx2x / bnx2x_vfpf.c
index 7721d41..f982518 100644 (file)
@@ -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;