d57f2899e2
The "kni_dev" is the private data of the "net_device" in kni, and allocated
with the "net_device" by calling "alloc_netdev()". The "net_device" is
freed by calling "free_netdev()" when kni release. The freed memory
includes the "kni_dev". So after "kni_dev" should not be accessed after
"net_device" is released.
Fixes:
|
||
---|---|---|
.. | ||
compat.h | ||
Kbuild | ||
kni_dev.h | ||
kni_fifo.h | ||
kni_misc.c | ||
kni_net.c | ||
meson.build |