summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-09-17 04:53:27 +0000
committerdlg <dlg@openbsd.org>2015-09-17 04:53:27 +0000
commit4f94f0345fd00863effe3da910fe158e3edfdae9 (patch)
tree8c661eec473dbe24b12445de1ec88ad22a06a0ac
parentLog when cmdq_continue is called. (diff)
downloadwireguard-openbsd-4f94f0345fd00863effe3da910fe158e3edfdae9.tar.xz
wireguard-openbsd-4f94f0345fd00863effe3da910fe158e3edfdae9.zip
instead of leaking rarp packets, break from the switch statement
so packets can get enqueued for the arp netisr to process. fixes jsgs nfs mountroot problem.
-rw-r--r--sys/net/if_ethersubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 4fbbc548d2e..69256b50963 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.225 2015/09/13 10:42:32 dlg Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.226 2015/09/17 04:53:27 dlg Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -361,7 +361,7 @@ decapsulate:
if (ifp->if_flags & IFF_NOARP)
goto dropanyway;
inq = &rarpintrq;
- return (1);
+ break;
#ifdef INET6
/*