diff options
author | 2015-04-30 07:52:00 +0000 | |
---|---|---|
committer | 2015-04-30 07:52:00 +0000 | |
commit | c44d012b09c91b75e2230880fb546f468fa93850 (patch) | |
tree | 9f2609e1f64715beeeae28514a565e7a9652a746 | |
parent | Convert moar drivers to if_input(). (diff) | |
download | wireguard-openbsd-c44d012b09c91b75e2230880fb546f468fa93850.tar.xz wireguard-openbsd-c44d012b09c91b75e2230880fb546f468fa93850.zip |
No need to set `rcvif', if_input() does it for you!
-rw-r--r-- | sys/dev/pci/if_jme.c | 3 | ||||
-rw-r--r-- | 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 <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 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 <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++; |