can: test size of struct sockaddr in sendmsg
authorKurt Van Dijck <kurt.van.dijck@eia.be>
Sun, 16 Jan 2011 04:56:42 +0000 (20:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jan 2011 04:56:42 +0000 (20:56 -0800)
commit5e5073280379d38e86ade471daa7443b553fc839
tree18b76f530ec22b57b36de68b985ad32444066dcc
parentd78c68efa84ff312f3663dbf921b1e3485232205
can: test size of struct sockaddr in sendmsg

This patch makes the CAN socket code conform to the manpage of sendmsg.

Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/bcm.c
net/can/raw.c