diff options
author | Karsten Keil <[email protected]> | 2015-10-21 14:18:39 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-10-22 07:23:19 -0700 |
commit | c96356a9baa2e3d628caf52f3b83df1968628b5f (patch) | |
tree | 01de4f3ad8098331f6c94d54c77b82398c92b3ec /scripts/gdb/linux/lists.py | |
parent | c7a7c95e8e18a3598c4d0f99c35e69dce591daf1 (diff) |
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 <[email protected]> to remind me on this issue.
Signed-off-by: Karsten Keil <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions