Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/net




To: source-changes%netbsd.org@localhost

Subject: CVS commit: syssrc/sys/net

From: Atsushi Onoe <onoe%netbsd.org@localhost>

Date: Tue, 25 Sep 2001 04:07:54 +0300 (EEST)


Module Name:    syssrc
Committed By:   onoe
Date:           Tue Sep 25 01:07:54 UTC 2001

Modified Files:
        syssrc/sys/net: if_ieee80211subr.c

Log Message:
use ALIGNED_POINTER() instead of ALIGN().
The type of ALIGN() is vary on architecture and casting pointer to u_int
is incorrect for MI code.
Since the code is to make sure aligned access to IP header and requires
bcopy if the test fails.  So the performance implication is not necessary
and we can use ALIGNED_POINTER() here.
pointed out by nathanw.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 syssrc/sys/net/if_ieee80211subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.






Prev by Date: CVS commit: sharesrc/share/mk

Next by Date: CVS commit: syssrc/sys/kern

Previous by Thread: CVS commit: sharesrc/share/mk

Next by Thread: CVS commit: syssrc/sys/kern

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index