mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 08:38:24 +08:00
1d7b33f77b
When a non-wimax interface is looked up by the stack, a bad pointer is returned when the looked-up interface is not found in the list (of registered WiMAX interfaces). This causes an oops in the caller when trying to use the pointer. Fix by properly setting the pointer to NULL if we don't exit from the list_for_each() with a found entry. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
debug-levels.h | ||
debugfs.c | ||
id-table.c | ||
Kconfig | ||
Makefile | ||
op-msg.c | ||
op-reset.c | ||
op-rfkill.c | ||
stack.c | ||
wimax-internal.h |