Module Name: src Committed By: nonaka Date: Thu Jun 16 15:21:49 UTC 2016
Modified Files: src/sys/dev/ic: rt2860.c Log Message: use M_SETCTX() macro. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/rt2860.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/rt2860.c diff -u src/sys/dev/ic/rt2860.c:1.12 src/sys/dev/ic/rt2860.c:1.13 --- src/sys/dev/ic/rt2860.c:1.12 Thu Jun 16 13:01:08 2016 +++ src/sys/dev/ic/rt2860.c Thu Jun 16 15:21:49 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: rt2860.c,v 1.12 2016/06/16 13:01:08 christos Exp $ */ +/* $NetBSD: rt2860.c,v 1.13 2016/06/16 15:21:49 nonaka Exp $ */ /* $OpenBSD: rt2860.c,v 1.90 2016/04/13 10:49:26 mpi Exp $ */ /*- @@ -23,7 +23,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rt2860.c,v 1.12 2016/06/16 13:01:08 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rt2860.c,v 1.13 2016/06/16 15:21:49 nonaka Exp $"); #include <sys/param.h> #include <sys/sockio.h> @@ -1337,7 +1337,7 @@ rt2860_rx_intr(struct rt2860_softc *sc) /* finalize mbuf */ m->m_data = (void *)(rxwi + 1); - m->m_pkthdr.rcvif = ifp; + M_SETCTX(m, ifp); m->m_pkthdr.len = m->m_len = le16toh(rxwi->len) & 0xfff; wh = mtod(m, struct ieee80211_frame *);