summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorJustin Iurman <justin.iurman@uliege.be>2024-09-11 19:45:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-04 16:32:30 +0200
commitd2dd99827dfde589bfe9f41ae8b162c29945c4f5 (patch)
tree423b976fed13cbf28c61ebab660611f17f1042a6 /net/tipc
parent796d5d3b27790e185699dfa50b0e9258cadc1a45 (diff)
net: ipv6: rpl_iptunnel: Fix memory leak in rpl_input
[ Upstream commit 2c84b0aa28b9e73e8c4b4ce038269469434ae372 ] Free the skb before returning from rpl_input when skb_cow_head() fails. Use a "drop" label and goto instructions. Fixes: a7a29f9c361f ("net: ipv6: add rpl sr tunnel") Signed-off-by: Justin Iurman <justin.iurman@uliege.be> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20240911174557.11536-1-justin.iurman@uliege.be Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions