openwrt/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx
Jan Hoffmann 65b2bcbf5f realtek: fix memory leak in netevent handler
The net_event_work struct is allocated, but only freed in a single case.
Move the allocation to the branch where it is actually needed, and free
it after the work has been done.

Fixes: 03e1d93e07 ("realtek: add driver support for routing offload")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-02-13 12:14:16 +01:00
..
common.c realtek: fix memory leak in netevent handler 2023-02-13 12:14:16 +01:00
debugfs.c realtek: add cond_resched to loops accessing the FDB table 2022-12-27 16:29:57 +01:00
dsa.c realtek: add cond_resched to loops accessing the FDB table 2022-12-27 16:29:57 +01:00
Kconfig realtek: Create 4 different Realtek Platforms 2022-02-17 15:21:47 +00:00
Makefile realtek: Add driver support for TC offloading 2021-10-09 08:25:05 +02:00
qos.c realtek: copy config/files/patches to 5.10 2021-09-26 00:32:17 +02:00
rtl83xx.h realtek: restructure rtl_table_read/write 2022-12-27 16:29:57 +01:00
rtl838x.c realtek: refactor keep vlan tag setup, fix tagged forwarding 2022-12-01 22:15:55 +01:00
rtl838x.h realtek: refactor keep vlan tag setup, fix tagged forwarding 2022-12-01 22:15:55 +01:00
rtl839x.c realtek: refactor keep vlan tag setup, fix tagged forwarding 2022-12-01 22:15:55 +01:00
rtl930x.c realtek: refactor keep vlan tag setup, fix tagged forwarding 2022-12-01 22:15:55 +01:00
rtl931x.c realtek: refactor keep vlan tag setup, fix tagged forwarding 2022-12-01 22:15:55 +01:00
tc.c realtek: Add driver support for TC offloading 2021-10-09 08:25:05 +02:00