mISDN: Fix handling of receive buffer size in L1oIP
authorAndreas Eversberg <andreas@eversberg.eu>
Mon, 27 Jul 2009 17:24:04 +0000 (19:24 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Jul 2009 21:26:51 +0000 (14:26 -0700)
commitce4adcc6e5320062e0d993eb75152d165aaabbe6
tree124af8db794a0d2307045e8c6f7bc058afed1fc7
parentf151cd2c54ddc7714e2f740681350476cda03a28
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: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/mISDN/l1oip_core.c