From c44d012b09c91b75e2230880fb546f468fa93850 Mon Sep 17 00:00:00 2001 From: mpi Date: Thu, 30 Apr 2015 07:52:00 +0000 Subject: [PATCH] No need to set `rcvif', if_input() does it for you! --- sys/dev/pci/if_jme.c | 3 +-- sys/dev/pci/if_vic.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/if_jme.c b/sys/dev/pci/if_jme.c index e75a0503da7..e8a08f4855c 100644 --- a/sys/dev/pci/if_jme.c +++ b/sys/dev/pci/if_jme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_jme.c,v 1.39 2015/04/10 16:04:47 mpi Exp $ */ +/* $OpenBSD: if_jme.c,v 1.40 2015/04/30 07:52:00 mpi Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon * All rights reserved. @@ -1693,7 +1693,6 @@ jme_rxpkt(struct jme_softc *sc) } else { m->m_len = sc->jme_cdata.jme_rxlen; } - m->m_pkthdr.rcvif = ifp; /* * Account for 10bytes auto padding which is used diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c index b680b8de73e..b724dcb1fbb 100644 --- a/sys/dev/pci/if_vic.c +++ b/sys/dev/pci/if_vic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vic.c,v 1.87 2015/04/01 16:09:21 uebayasi Exp $ */ +/* $OpenBSD: if_vic.c,v 1.88 2015/04/30 07:52:00 mpi Exp $ */ /* * Copyright (c) 2006 Reyk Floeter @@ -860,7 +860,6 @@ vic_rx_proc(struct vic_softc *sc, int q) goto nextp; } - m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = len; ifp->if_ipackets++; -- 2.20.1