diff options
| author | 2016-05-18 20:15:14 +0000 | |
|---|---|---|
| committer | 2016-05-18 20:15:14 +0000 | |
| commit | 5a411d3cd0812c0dd09bca91defe59a3a500a33e (patch) | |
| tree | 32be377457840e724ccbfba3935e7e3063148552 /sys/net/if_ethersubr.c | |
| parent | Document MODQT_LRELEASE (diff) | |
| download | wireguard-openbsd-5a411d3cd0812c0dd09bca91defe59a3a500a33e.tar.xz wireguard-openbsd-5a411d3cd0812c0dd09bca91defe59a3a500a33e.zip | |
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/if_ethersubr.c')
| -rw-r--r-- | sys/net/if_ethersubr.c | 6 |
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 |
