diff options
author | 2016-11-16 14:50:13 +0000 | |
---|---|---|
committer | 2016-11-16 14:50:13 +0000 | |
commit | eacdc2ef4faa3086cd3acc8d615c66ac1047358f (patch) | |
tree | 9b0f7820db8abd0971041178cacd90e82554c3a0 | |
parent | if_link_state_change() doesn't need to be called under splsoftnet(), (diff) | |
download | wireguard-openbsd-eacdc2ef4faa3086cd3acc8d615c66ac1047358f.tar.xz wireguard-openbsd-eacdc2ef4faa3086cd3acc8d615c66ac1047358f.zip |
Convert gre_send_keepalive() to timeout_set_proc(9) as it calls ip_output().
-rw-r--r-- | sys/net/if_gre.c | 4 |
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); |