diff options
| author | Wei Yang <albinwyang@tencent.com> | 2026-05-09 15:23:58 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-13 04:07:02 +0300 |
| commit | f9e2342046ef1560d35bcd4a4b1197648ffd151d (patch) | |
| tree | d0611a47ba8ec3ead320052a802108be1379aff2 /tools/lib/python/__init__.py | |
| parent | e3adf69f8eb121a9128c2b0029efd050d3649153 (diff) | |
| download | linux-f9e2342046ef1560d35bcd4a4b1197648ffd151d.tar.xz | |
net: atm: fix skb leak in sigd_send() default branch
The default branch in sigd_send() calls sock_put() and returns -EINVAL
without freeing the skb, while all other exit paths do so. Add the
missing dev_kfree_skb() before sock_put() to fix the leak.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Wei Yang <albinwyang@tencent.com>
Link: https://patch.msgid.link/20260509122358.1102997-1-albin_yang@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/__init__.py')
0 files changed, 0 insertions, 0 deletions
