summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ix.c
diff options
context:
space:
mode:
authorjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
committerjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
commit6d4278dde7bbd44ebf209900ed30094580ca9dd2 (patch)
tree679203df2879430d05268b1347f4f262cb4afc37 /sys/dev/pci/if_ix.c
parent056fb48734bba89aad9ad9db65ec02886cd2f21a (diff)
Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.
OK dlg@, bluhm@ No Opinion mpi@ Not against it claudio@
Diffstat (limited to 'sys/dev/pci/if_ix.c')
-rw-r--r--sys/dev/pci/if_ix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 4661e92483e..08079146bfc 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.176 2020/12/09 05:39:42 dlg Exp $ */
+/* $OpenBSD: if_ix.c,v 1.177 2020/12/12 11:48:53 jan Exp $ */
/******************************************************************************
@@ -2666,7 +2666,7 @@ ixgbe_get_buf(struct rx_ring *rxr, int i)
}
/* needed in any case so prealocate since this one will fail for sure */
- mp = MCLGETI(NULL, M_DONTWAIT, NULL, sc->rx_mbuf_sz);
+ mp = MCLGETL(NULL, M_DONTWAIT, sc->rx_mbuf_sz);
if (!mp)
return (ENOBUFS);