diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2013-05-30 21:21:47 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-12 14:20:57 (GMT) |
commit | 87ccee46fabd235c2bac3652dee009e8f791dc10 (patch) | |
tree | ff9ba7b5eb4ccc7ea3c8afbc665218b93f44a2d7 /drivers/net | |
parent | a805de4d036152a4ad7d3b18a9993a5c86588d6d (diff) | |
download | linux-87ccee46fabd235c2bac3652dee009e8f791dc10.tar.xz |
rtlwifi: Fix a false leak indication for PCI devices
This false leak indication is avoided with a no-leak annotation to kmemleak.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rtlwifi/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index 999ffc1..c97e9d3 100644 --- a/drivers/net/wireless/rtlwifi/pci.c +++ b/drivers/net/wireless/rtlwifi/pci.c @@ -764,6 +764,7 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw) "can't alloc skb for rx\n"); goto done; } + kmemleak_not_leak(new_skb); pci_unmap_single(rtlpci->pdev, *((dma_addr_t *) skb->cb), |