forked from mirrors/linux
dm is netdev private data and it cannot be used after free_netdev() call. Using dm after free_netdev() can cause UAF bug. Fix it by moving free_netdev() at the end of the function. This is similar to the issue fixed in commit |
||
|---|---|---|
| .. | ||
| dm9000.c | ||
| dm9000.h | ||
| dm9051.c | ||
| dm9051.h | ||
| Kconfig | ||
| Makefile | ||