summaryrefslogtreecommitdiff
path: root/net/netfilter/nfnetlink_queue.c
diff options
context:
space:
mode:
authorRobert-Ionut Alexa <robert-ionut.alexa@nxp.com>2021-04-23 12:01:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-17 09:48:45 +0100
commit15351d5e8bb4df57935fdeba87a5ec984edb5c80 (patch)
treeab124fcab06d9a08f4ebf77b7512727700100481 /net/netfilter/nfnetlink_queue.c
parentbe832f781dc47805e6c8b48b3069adf9654040e3 (diff)
soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
[ Upstream commit 8120bd469f5525da229953c1197f2b826c0109f4 ] Free the kbuf buffer before returning from the dpaa2_console_read() function. The variable no longer goes out of scope, leaking the storage it points to. Fixes: c93349d8c170 ("soc: fsl: add DPAA2 console support") Signed-off-by: Robert-Ionut Alexa <robert-ionut.alexa@nxp.com> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/netfilter/nfnetlink_queue.c')
0 files changed, 0 insertions, 0 deletions