svn commit: r195222 - projects/mesh11s/sys/net80211
Sam Leffler
sam at FreeBSD.org
Wed Jul 1 01:27:27 UTC 2009
Author: sam
Date: Wed Jul 1 01:27:27 2009
New Revision: 195222
URL: http://svn.freebsd.org/changeset/base/195222
Log:
hack ALIGNED_POINTER so we re-align mesh data frames on arm
Modified:
projects/mesh11s/sys/net80211/ieee80211_input.c
Modified: projects/mesh11s/sys/net80211/ieee80211_input.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_input.c Wed Jul 1 01:26:51 2009 (r195221)
+++ projects/mesh11s/sys/net80211/ieee80211_input.c Wed Jul 1 01:27:27 2009 (r195222)
@@ -277,6 +277,7 @@ ieee80211_decap(struct ieee80211vap *vap
IEEE80211_ADDR_COPY(eh->ether_shost, wh.i_addr4);
break;
}
+#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0)
#ifdef ALIGNED_POINTER
if (!ALIGNED_POINTER(mtod(m, caddr_t) + sizeof(*eh), uint32_t)) {
struct mbuf *n, *n0, **np;
More information about the svn-src-projects
mailing list