diff options
author | Justin Iurman <justin.iurman@uliege.be> | 2024-09-11 19:45:57 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-13 19:55:49 -0700 |
commit | 2c84b0aa28b9e73e8c4b4ce038269469434ae372 (patch) | |
tree | ffdbab1b6ba7179ecb01fb5ec205f481f06b8331 /Documentation/w1 | |
parent | b9c7ac4fe22c608acf6153a3329df2b6b6cd416c (diff) | |
download | linux-stable-2c84b0aa28b9e73e8c4b4ce038269469434ae372.tar.gz linux-stable-2c84b0aa28b9e73e8c4b4ce038269469434ae372.tar.bz2 linux-stable-2c84b0aa28b9e73e8c4b4ce038269469434ae372.zip |
net: ipv6: rpl_iptunnel: Fix memory leak in rpl_input
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>
Diffstat (limited to 'Documentation/w1')
0 files changed, 0 insertions, 0 deletions