diff options
author | 2015-02-08 06:02:03 +0000 | |
---|---|---|
committer | 2015-02-08 06:02:03 +0000 | |
commit | 9e0e890f62812f39e4ef69dc8c29237c73cf3bb4 (patch) | |
tree | 19e46a5c7f2fd2d67444244fc6da66cdf81a8187 | |
parent | remove ptr_t typedef. void * is good enough for csh. (diff) | |
download | wireguard-openbsd-9e0e890f62812f39e4ef69dc8c29237c73cf3bb4.tar.xz wireguard-openbsd-9e0e890f62812f39e4ef69dc8c29237c73cf3bb4.zip |
Convert to if_input().
ok pelikan@, reyk@, blambert@, henning@
-rw-r--r-- | sys/dev/ic/gem.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c index e97c235b792..fae8f1f33d2 100644 --- a/sys/dev/ic/gem.c +++ b/sys/dev/ic/gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gem.c,v 1.108 2014/12/22 02:28:51 tedu Exp $ */ +/* $OpenBSD: gem.c,v 1.109 2015/02/08 06:02:03 mpi Exp $ */ /* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -998,16 +998,9 @@ gem_rint(struct gem_softc *sc) m->m_data += 2; /* We're already off by two */ ifp->if_ipackets++; - m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = len; -#if NBPFILTER > 0 - if (ifp->if_bpf) - bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_IN); -#endif /* NBPFILTER > 0 */ - - /* Pass it on. */ - ether_input_mbuf(ifp, m); + if_input(ifp, m); } /* Update the receive pointer. */ |