Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1633036 > unrolled thread

Re: [PATCH 1/1] iw_cxgb4: check return value of alloc_skb

Started byDoug Ledford <dledford@redhat.com>
First post2017-04-28 19:20 +0200
Last post2017-04-28 19:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/1] iw_cxgb4: check return value of alloc_skb Doug Ledford <dledford@redhat.com> - 2017-04-28 19:20 +0200

#1633036 — Re: [PATCH 1/1] iw_cxgb4: check return value of alloc_skb

FromDoug Ledford <dledford@redhat.com>
Date2017-04-28 19:20 +0200
SubjectRe: [PATCH 1/1] iw_cxgb4: check return value of alloc_skb
Message-ID<tBhIK-22D-11@gated-at.bofh.it>
On Sun, 2017-04-23 at 17:09 +0800, Pan Bian wrote:
> Function alloc_skb() will return a NULL pointer when there is no
> enough
> memory. However, the return value of alloc_skb() is directly used
> without validation in function send_fw_pass_open_req(). This patches
> checks the return value of alloc_skb() against NULL.
> 
> Signed-off-by: Pan Bian <bianpan2016@163.com>

Thanks, applied.

-- 
Doug Ledford <dledford@redhat.com>
    GPG KeyID: B826A3330E572FDD
   
Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web