caif: Bugfix - use MSG_TRUNC in receive
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Fri, 21 May 2010 02:16:12 +0000 (02:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:57:43 +0000 (23:57 -0700)
Fixed handling when skb don't fit in user buffer,
instead of returning -EMSGSIZE, the buffer is truncated (just
as unix seqpakcet does).

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found