openwrt/target/linux/realtek/files-5.15/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: Reduce variable scopes 2022-12-27 16:33:15 +01:00
dsa.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
Kconfig realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
Makefile realtek: copy dts/files/patches/configs for 5.15 2022-12-15 20:52:09 +01:00
qos.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
rtl83xx.h realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
rtl838x.c realtek: 5.15: Improve error handling in rtl838x_pie_rule_write() 2023-01-05 23:09:23 +01:00
rtl838x.h realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00
rtl839x.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
rtl930x.c realtek: dsa: support active-high LEDs 2023-01-24 21:55:44 +01:00
rtl931x.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
tc.c realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00