Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic use M_SETCTX() macro.
details: https://anonhg.NetBSD.org/src/rev/d419e3b14cbb
branches: trunk
changeset: 816092:d419e3b14cbb
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Jun 16 15:21:49 2016 +0000
description:
use M_SETCTX() macro.
diffstat:
sys/dev/ic/rt2860.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 853ed421c339 -r d419e3b14cbb sys/dev/ic/rt2860.c
--- a/sys/dev/ic/rt2860.c Thu Jun 16 15:18:33 2016 +0000
+++ b/sys/dev/ic/rt2860.c Thu Jun 16 15:21:49 2016 +0000
@@ -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 @@
/* 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 *);
Home |
Main Index |
Thread Index |
Old Index