From c19ee78b67c12301550c37b40331aaec05d38b64 Mon Sep 17 00:00:00 2001 From: mpi Date: Wed, 10 Jun 2015 15:34:17 +0000 Subject: [PATCH] Do not set "rcvif", if_input() does it for us. Found the hardway by krw@ trying a diff that kills "rcvif". ok stsp@ --- sys/dev/pci/if_rtwn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/pci/if_rtwn.c b/sys/dev/pci/if_rtwn.c index a2ce6b6fc59..19ce5f84bc0 100644 --- a/sys/dev/pci/if_rtwn.c +++ b/sys/dev/pci/if_rtwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rtwn.c,v 1.1 2015/06/04 21:08:40 stsp Exp $ */ +/* $OpenBSD: if_rtwn.c,v 1.2 2015/06/10 15:34:17 mpi Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini @@ -1544,7 +1544,6 @@ rtwn_rx_frame(struct rtwn_softc *sc, struct r92c_rx_desc *rx_desc, /* Finalize mbuf. */ m = rx_data->m; rx_data->m = m1; - m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = pktlen + infosz + shift; /* Update RX descriptor. */ -- 2.20.1