caif: don't set connection request param size before copying data
authorDan Rosenberg <drosenberg@vsecurity.com>
Tue, 11 Jan 2011 00:00:54 +0000 (16:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jan 2011 00:00:54 +0000 (16:00 -0800)
commit91b5c98c2e062f982423686c77b8bf31f37fa196
tree02faff8ec23c12bf139ae6adf501e77417346250
parent80ce3f67e75ffa14ad99b26457a7e9558b8b001a
caif: don't set connection request param size before copying data

The size field should not be set until after the data is successfully
copied in.

Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_socket.c