From a0b22fd0f115cbc3a6b9266c2f2db59742da3b0f Mon Sep 17 00:00:00 2001 From: dlg Date: Thu, 21 Dec 2017 03:59:32 +0000 Subject: [PATCH] drivers might want to call ifiq_barrier. --- sys/net/ifq.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/ifq.h b/sys/net/ifq.h index f8f520df4a2..8e0fcd8f01d 100644 --- a/sys/net/ifq.h +++ b/sys/net/ifq.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ifq.h,v 1.17 2017/12/15 01:37:30 dlg Exp $ */ +/* $OpenBSD: ifq.h,v 1.18 2017/12/21 03:59:32 dlg Exp $ */ /* * Copyright (c) 2015 David Gwynne @@ -470,6 +470,7 @@ int ifiq_input(struct ifiqueue *, struct mbuf_list *, unsigned int); int ifiq_enqueue(struct ifiqueue *, struct mbuf *); void ifiq_add_data(struct ifiqueue *, struct if_data *); +void ifiq_barrier(struct ifiqueue *); #define ifiq_len(_ifiq) ml_len(&(_ifiq)->ifiq_ml) #define ifiq_empty(_ifiq) ml_empty(&(_ifiq)->ifiq_ml) -- 2.20.1