]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ce768f5fde87e0f37727d9fc435964d196161ad
tree679ff3b9ef79f7fbb5821bff2d050fd0638d2366
parentbd1d879155ae6e00700527892f5da823c0eaf6f0
caif: Bugfix - use MSG_TRUNC in receive

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>
net/caif/caif_socket.c