Subject: CVS commit: syssrc/sys/net
To: None <email@example.com>
From: Atsushi Onoe <firstname.lastname@example.org>
Date: 09/25/2001 04:07:54
Module Name: syssrc
Committed By: onoe
Date: Tue Sep 25 01:07:54 UTC 2001
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.