summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-05-18 20:15:15 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-05-18 20:15:15 +0000
commitce2de0339b6b5835f7134b4a7a4f1bf4cd54553c (patch)
tree1e542663206bfba4ec1491d9084e14daa93009f4 /sys/net
parent424dd71678c6bfc47289fcf1d46ea8a7eac50f94 (diff)
Remove some superflous if_get(9)/if_put(9) dances now that ARP input
routines are call directly by ether_input(). ok visa@, dlg@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_ethersubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index eeb488122b3..542fa2b5dcc 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.235 2016/04/01 04:03:35 jsg Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.236 2016/05/18 20:15:14 mpi Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -372,13 +372,13 @@ decapsulate:
case ETHERTYPE_ARP:
if (ifp->if_flags & IFF_NOARP)
goto dropanyway;
- arpinput(m);
+ arpinput(ifp, m);
return (1);
case ETHERTYPE_REVARP:
if (ifp->if_flags & IFF_NOARP)
goto dropanyway;
- revarpinput(m);
+ revarpinput(ifp, m);
return (1);
#ifdef INET6