From 6333701cec1c66623020657fd13af5701fda1161 Mon Sep 17 00:00:00 2001 From: mpi Date: Thu, 21 May 2015 09:36:20 +0000 Subject: [PATCH] No need to set "rcvif", if_input() does it for you. --- sys/dev/ic/dp8390.c | 3 +-- sys/dev/ic/pgt.c | 3 +-- sys/dev/pcmcia/if_cnw.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c index 353f1ed3ef8..e99a1d3cd1b 100644 --- a/sys/dev/ic/dp8390.c +++ b/sys/dev/ic/dp8390.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dp8390.c,v 1.52 2015/05/13 10:42:46 jsg Exp $ */ +/* $OpenBSD: dp8390.c,v 1.53 2015/05/21 09:36:20 mpi Exp $ */ /* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */ /* @@ -934,7 +934,6 @@ dp8390_get(struct dp8390_softc *sc, int src, u_short total_len) MGETHDR(m0, M_DONTWAIT, MT_DATA); if (m0 == NULL) return (0); - m0->m_pkthdr.rcvif = ifp; m0->m_pkthdr.len = total_len; len = MHLEN; m = m0; diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c index d0686226d62..c4608587705 100644 --- a/sys/dev/ic/pgt.c +++ b/sys/dev/ic/pgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pgt.c,v 1.77 2014/12/22 02:28:51 tedu Exp $ */ +/* $OpenBSD: pgt.c,v 1.78 2015/05/21 09:36:20 mpi Exp $ */ /* * Copyright (c) 2006 Claudio Jeker @@ -1531,7 +1531,6 @@ pgt_datarx_completion(struct pgt_softc *sc, enum pgt_queue pq) if (top) { top->m_pkthdr.len = tlen; - top->m_pkthdr.rcvif = ifp; } return (top); diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c index 1c710c2c530..d544b08b9ef 100644 --- a/sys/dev/pcmcia/if_cnw.c +++ b/sys/dev/pcmcia/if_cnw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cnw.c,v 1.29 2015/05/19 11:24:01 mpi Exp $ */ +/* $OpenBSD: if_cnw.c,v 1.30 2015/05/21 09:36:20 mpi Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -559,7 +559,6 @@ cnw_read(sc) MGETHDR(m, M_DONTWAIT, MT_DATA); if (m == NULL) return (0); - m->m_pkthdr.rcvif = &sc->sc_arpcom.ac_if; m->m_pkthdr.len = totbytes; mbytes = MHLEN; top = 0; -- 2.20.1