diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-09-17 04:53:28 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-09-17 04:53:28 +0000 |
commit | 9fbd2ebb5c820d9e6d83b28d7ee74fde540f3f38 (patch) | |
tree | 7f45ba31e5c6b5be13fac24c619ec1e172944c92 | |
parent | d818fab9b08d556e6cd513590515f4799bbf3b05 (diff) |
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.c | 4 |
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 /* |