mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 20:45:39 +07:00
a83165f00f
Currently, rocker user may experience following null pointer
derefence bug:
[ 3.062141] BUG: unable to handle kernel NULL pointer dereference at 00000000000000d0
[ 3.065163] IP: rocker_router_fib_event_work+0x36/0x110 [rocker]
The problem is uninitialized rocker->wops pointer that is initialized
only with the first initialized port. So move the port initialization
before registering the fib events.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rocker_hw.h | ||
rocker_main.c | ||
rocker_ofdpa.c | ||
rocker_tlv.c | ||
rocker_tlv.h | ||
rocker.h |