diff options
Diffstat (limited to 'drivers/isdn/i4l/isdn_ppp.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_ppp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c index 175199088bf4..26e46720fc1c 100644 --- a/drivers/isdn/i4l/isdn_ppp.c +++ b/drivers/isdn/i4l/isdn_ppp.c | |||
@@ -2536,6 +2536,11 @@ static struct sk_buff *isdn_ppp_decompress(struct sk_buff *skb,struct ippp_struc | |||
2536 | rsparm.maxdlen = IPPP_RESET_MAXDATABYTES; | 2536 | rsparm.maxdlen = IPPP_RESET_MAXDATABYTES; |
2537 | 2537 | ||
2538 | skb_out = dev_alloc_skb(is->mru + PPP_HDRLEN); | 2538 | skb_out = dev_alloc_skb(is->mru + PPP_HDRLEN); |
2539 | if (!skb_out) { | ||
2540 | kfree_skb(skb); | ||
2541 | printk(KERN_ERR "ippp: decomp memory allocation failure\n"); | ||
2542 | return NULL; | ||
2543 | } | ||
2539 | len = ipc->decompress(stat, skb, skb_out, &rsparm); | 2544 | len = ipc->decompress(stat, skb, skb_out, &rsparm); |
2540 | kfree_skb(skb); | 2545 | kfree_skb(skb); |
2541 | if (len <= 0) { | 2546 | if (len <= 0) { |