Date: Mon, 4 Dec 2006 10:44:00 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 110998 for review Message-ID: <200612041044.kB4Ai0B1080267@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110998 Change 110998 by zec@zec_tpx32 on 2006/12/04 10:43:00 Set the per-thread vnet affinity to match the ifnet / vnet binding in rt_ieee80211msg() during routing message dispatch. Affected files ... .. //depot/projects/vimage/src/sys/net/rtsock.c#3 edit Differences ... ==== //depot/projects/vimage/src/sys/net/rtsock.c#3 (text+ko) ==== @@ -1033,7 +1033,9 @@ if (m->m_flags & M_PKTHDR) m->m_pkthdr.len += data_len; mtod(m, struct if_announcemsghdr *)->ifan_msglen += data_len; + CURVNETB_SET(ifp->if_vnetb); rt_dispatch(m, NULL); + CURVNETB_RESTORE(); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612041044.kB4Ai0B1080267>