kernel-ark/drivers/isdn
Karsten Keil c96356a9ba mISDN: fix OOM condition for sending queued I-Frames
The old code did not check the return value of skb_clone().
The extra skb_clone() is not needed at all, if using skb_realloc_headroom()
instead, which gives us a private copy with enough headroom as well.
We need to requeue the original skb if the call failed, because we cannot
inform upper layers about the data loss. Restructure the code to minimise
rollback effort if it happens.
This fix kernel bug #86091

Thanks to Insu Yun <wuninsu@gmail.com> to remind me on this issue.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-22 07:23:19 -07:00
..
act2000
capi isdn/capi: Use setup_timer 2015-05-31 21:36:37 -07:00
divert
gigaset isdn/gigaset: drop unused ldisc methods 2015-07-15 17:24:45 -07:00
hardware Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-04-14 09:50:27 -07:00
hisax ISDN: fix OOM condition for sending queued I-Frames 2015-10-22 07:23:19 -07:00
hysdn
i4l Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-06-23 14:08:54 -07:00
icn arch, drivers: don't include <asm/io.h> directly, use <linux/io.h> instead 2015-08-10 23:07:05 -04:00
isdnloop
mISDN mISDN: fix OOM condition for sending queued I-Frames 2015-10-22 07:23:19 -07:00
pcbit
sc
Kconfig
Makefile