]> git.openfabrics.org - ~emulex/infiniband.git/commit
brcm80211: brcmu_pkt_buf_free_skb() should handle NULL
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 May 2012 09:00:27 +0000 (12:00 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jun 2012 19:23:20 +0000 (15:23 -0400)
commit1dacd1980d5ba732de1b69999fd8995b3b2b724b
tree9378cb9de978448430b07382a2421fc9d70c25d8
parent9be02923371718265ea050a5415dc4fefc4e6a64
brcm80211: brcmu_pkt_buf_free_skb() should handle NULL

This is potentially called with NULL pointers, for example, look at
brcmf_c_prec_enq().  Since it's a free() function, probably people
expect it to handle NULL pointers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmutil/utils.c