diff options
| author | 2022-10-27 22:03:29 +0800 | |
|---|---|---|
| committer | 2022-10-30 21:43:26 +0000 | |
| commit | 8e4aae6b8ca76afb1fb64dcb24be44ba814e7f8a (patch) | |
| tree | afdb6bf47a5afbd7d1fe510e9e434bafbd16570c /tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | net: dsa: fall back to default tagger if we can't load the one from DT (diff) | |
| download | linux-dev-8e4aae6b8ca76afb1fb64dcb24be44ba814e7f8a.tar.xz linux-dev-8e4aae6b8ca76afb1fb64dcb24be44ba814e7f8a.zip | |
nfc: fdp: Fix potential memory leak in fdp_nci_send()
fdp_nci_send() will call fdp_nci_i2c_write that will not free skb in
the function. As a result, when fdp_nci_i2c_write() finished, the skb
will memleak. fdp_nci_send() should free skb after fdp_nci_i2c_write()
finished.
Fixes: a06347c04c13 ("NFC: Add Intel Fields Peak NFC solution driver")
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
