]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5ee729129d2370951fcbc89a1d7494eb053ee557
treefc1bd234ab42678c08a06bcf72a92ea1497c69b6
parent08b5fa1f941e0a7b17a776890b63e0b9d8a834b0
[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