From 39c176f1feac7f6b4a20d0c452fad9fd4dfd74fe Mon Sep 17 00:00:00 2001 From: dlg Date: Mon, 12 Feb 2018 00:07:53 +0000 Subject: [PATCH] dont handle SIOCSIFRDOMAIN twice, egre isn't supposed to filter it. --- sys/net/if_gre.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index bcec73ce875..54d4dd59286 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gre.c,v 1.98 2018/02/09 10:12:38 dlg Exp $ */ +/* $OpenBSD: if_gre.c,v 1.99 2018/02/12 00:07:53 dlg Exp $ */ /* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */ /* @@ -1078,13 +1078,6 @@ gre_tunnel_ioctl(struct ifnet *ifp, struct gre_tunnel *tunnel, case SIOCDELMULTI: break; - case SIOCSIFRDOMAIN: - if (ISSET(ifp->if_flags, IFF_RUNNING)) { - error = EBUSY; - break; - } - break; - case SIOCSVNETID: if (ISSET(ifp->if_flags, IFF_RUNNING)) { error = EBUSY; -- 2.20.1