No need to set `rcvif', if_input() does it for you!
authormpi <mpi@openbsd.org>
Thu, 30 Apr 2015 07:52:00 +0000 (07:52 +0000)
committermpi <mpi@openbsd.org>
Thu, 30 Apr 2015 07:52:00 +0000 (07:52 +0000)
sys/dev/pci/if_jme.c
sys/dev/pci/if_vic.c

index e75a050..e8a08f4 100644 (file)
@@ -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 <yongari@FreeBSD.org>
  * 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
index b680b8d..b724dcb 100644 (file)
@@ -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 <reyk@openbsd.org>
@@ -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++;