diff options
| author | Justin Iurman <[email protected]> | 2024-09-11 17:45:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-09-14 02:55:49 +0000 |
| commit | 2c84b0aa28b9e73e8c4b4ce038269469434ae372 (patch) | |
| tree | ffdbab1b6ba7179ecb01fb5ec205f481f06b8331 /drivers/fpga/tests/fpga-region-test.c | |
| parent | r8169: disable ALDPS per default for RTL8125 (diff) | |
| download | kernel-2c84b0aa28b9e73e8c4b4ce038269469434ae372.tar.gz kernel-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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-region-test.c')
0 files changed, 0 insertions, 0 deletions
