From: dlg Date: Mon, 12 Feb 2018 00:07:53 +0000 (+0000) Subject: dont handle SIOCSIFRDOMAIN twice, egre isn't supposed to filter it. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=39c176f1feac7f6b4a20d0c452fad9fd4dfd74fe;p=openbsd dont handle SIOCSIFRDOMAIN twice, egre isn't supposed to filter it. --- 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;