diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
commit | 2ab8b96a9014558910b5e8b263ec8b87d01091ba (patch) | |
tree | 1cf4de4370435485a8c5e39ae8a862033ac128b1 /sys/net/if_pair.c | |
parent | 59b2589d33b260697d1e3b750d952a5aaa2953fc (diff) |
Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/net/if_pair.c')
-rw-r--r-- | sys/net/if_pair.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pair.c b/sys/net/if_pair.c index 3d5c9a04e1f..a8c69c3f6f7 100644 --- a/sys/net/if_pair.c +++ b/sys/net/if_pair.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pair.c,v 1.13 2019/04/27 05:16:15 dlg Exp $ */ +/* $OpenBSD: if_pair.c,v 1.14 2020/07/10 13:22:22 patrick Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -169,7 +169,7 @@ pairstart(struct ifnet *ifp) pairedifp = if_get(sc->sc_pairedif); for (;;) { - IFQ_DEQUEUE(&ifp->if_snd, m); + m = ifq_dequeue(&ifp->if_snd); if (m == NULL) break; |