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:
|
||
|---|---|---|
| .. | ||
| dsa/rtl83xx | ||
| ethernet | ||
| phy | ||
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:
|
||
|---|---|---|
| .. | ||
| dsa/rtl83xx | ||
| ethernet | ||
| phy | ||