diff options
author | Wei Yongjun <[email protected]> | 2022-11-14 11:05:19 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-11-15 20:22:19 -0800 |
commit | 2929cceb2fcf0ded7182562e4888afafece82cce (patch) | |
tree | f9bacf2fc24e734004408b7450a82eb7fdc600a7 /tools/perf/scripts/python/syscall-counts.py | |
parent | c9b895c6878bdb6789dc1d7af60fd10f4a9f1937 (diff) |
net/x25: Fix skb leak in x25_lapb_receive_frame()
x25_lapb_receive_frame() using skb_copy() to get a private copy of
skb, the new skb should be freed in the undersized/fragmented skb
error handling path. Otherwise there is a memory leak.
Fixes: cb101ed2c3c7 ("x25: Handle undersized/fragmented skbs")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Martin Schiller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions