summaryrefslogtreecommitdiff
path: root/sys/net/if_gre.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-11-16 14:50:14 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-11-16 14:50:14 +0000
commit2e01998706a1dc3227b7911b9f48be54c298a379 (patch)
treec440461fd4a20e3e009716b96a1fbe92a0f1bab7 /sys/net/if_gre.c
parent11fa4b7c1f0063b814681b1f24245800f7e7373e (diff)
Convert gre_send_keepalive() to timeout_set_proc(9) as it calls ip_output().
Diffstat (limited to 'sys/net/if_gre.c')
-rw-r--r--sys/net/if_gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index 7ada24077a9..fafa4e9507c 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gre.c,v 1.80 2016/08/31 15:00:02 reyk Exp $ */
+/* $OpenBSD: if_gre.c,v 1.81 2016/11/16 14:50:13 mpi Exp $ */
/* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -156,7 +156,7 @@ gre_clone_create(struct if_clone *ifc, int unit)
}
timeout_set(&sc->sc_ka_hold, gre_keepalive, sc);
- timeout_set(&sc->sc_ka_snd, gre_send_keepalive, sc);
+ timeout_set_proc(&sc->sc_ka_snd, gre_send_keepalive, sc);
if_attach(&sc->sc_if);
if_alloc_sadl(&sc->sc_if);