aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-26 04:11:49 +0100
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-26 04:13:09 +0100
commitb3a5d3fe6a3ce57a30fe1b8f799ed023d3ee6d97 (patch)
tree8e6bfb45698386c9aee5d1cedb9bf1356d8a25f7
parentAdd debug message for keepalive (diff)
downloadwireguard-openbsd-b3a5d3fe6a3ce57a30fe1b8f799ed023d3ee6d97.tar.xz
wireguard-openbsd-b3a5d3fe6a3ce57a30fe1b8f799ed023d3ee6d97.zip
Attempt to start the interface if the queue is full
-rw-r--r--src/if_wg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if_wg.c b/src/if_wg.c
index 6fdaa81..d9c2150 100644
--- a/src/if_wg.c
+++ b/src/if_wg.c
@@ -945,6 +945,7 @@ wg_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *sa,
if ((error = if_enqueue(ifp, m)) != 0) {
counters_inc(sc->sc_if.if_counters, ifc_oqdrops);
+ if_start(ifp);
return error;
}