diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-07-03 21:04:03 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-07-06 07:18:59 +0200 |
| commit | 353d2c1d5492e53ae34f490a84494124dc3d3531 (patch) | |
| tree | fa52a74ef7831d30a59a83bcf3a0ac18d7743a0e /include/linux | |
| parent | 6b628425aed49a1c7a4ffc997583840fc582d32b (diff) | |
batman-adv: frag: fix primary_if leak on failed linearization
If the skb has a frag_list, it must be linearized before it can be split
using skb_split(). But when this step failed, it must not only free the skb
but also take care of the reference to the already found primary_if.
Cc: stable@vger.kernel.org
Reported-by: Sashiko <sashiko-bot@kernel.org>
Fixes: a063f2fba3fa ("batman-adv: Don't skb_split skbuffs with frag_list")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
