commit | 5fa5e4def87289197d7aa04d0c45f0a9fea1a14e | [log] [tgz] |
---|---|---|
author | Navid Emamdoost <navid.emamdoost@gmail.com> | Sat Jul 18 00:31:49 2020 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 05 10:06:05 2020 +0200 |
tree | 236ec2dde5bad599dc70e02b672ed626f2aff626 | |
parent | d042d9abc1f61ea5d8c6a527efb6f701a20bb0b5 [diff] |
nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame [ Upstream commit 1e8fd3a97f2d83a7197876ceb4f37b4c2b00a0f3 ] The implementation of s3fwrn5_recv_frame() is supposed to consume skb on all execution paths. Release skb before returning -ENODEV. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>