[NET]: Make sure ctl buffer is aligned properly in sys_sendmsg().
authorAlex Williamson <alex.williamson@hp.com>
Mon, 26 Sep 2005 21:28:02 +0000 (14:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2005 21:28:02 +0000 (14:28 -0700)
commitb9d717a7b413f227ebb2d61d9c118335f7292137
treefc1bd234ab42678c08a06bcf72a92ea1497c69b6
parent8ddec7460d2f5db3ac35812c03676b1473d1d668
[NET]: Make sure ctl buffer is aligned properly in sys_sendmsg().

It's on the stack and declared as "unsigned char[]", but pointers
and similar can be in here thus we need to give it an explicit
alignment attribute.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c