summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2018-02-12 00:07:54 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2018-02-12 00:07:54 +0000
commitc6b3b399ffdec3ba27d9145d0b71ffbbf37d6952 (patch)
tree1c4b2e1173258e95dbd45f6d7eee18ca6c3795bf /sys
parent82593a3cc7aa1c55397ce07f32c1c99991e6339b (diff)
dont handle SIOCSIFRDOMAIN twice, egre isn't supposed to filter it.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_gre.c9
1 files changed, 1 insertions, 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;