mISDN: Fix handling of receive buffer size in L1oIP
authorAndreas Eversberg <andreas@eversberg.eu>
Mon, 27 Jul 2009 07:24:04 +0000 (07:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Aug 2009 19:59:32 +0000 (12:59 -0700)
commitb564afcfb82fe3e63a7ce05a944eb5e11244d7cb
treef94b9f94d8a1bd5e2a306e6d238b765501e2ab98
parent63097b3ad85788a64c75091bff351ecc850761b2
mISDN: Fix handling of receive buffer size in L1oIP

The size of receive buffer pointer was used to get size of
receive buffer instead of recvbuf_size itself, so only 4/8
bytes could be transfered.

This is a regression to 2.6.30 introduced by commit 8c90e11e3543d7de612194a042a148caeaab5f1d
mISDN: Use kernel_{send,recv}msg instead of open coding

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/l1oip_core.c