On 04/11/2024 16:32, Tiwei Bie wrote:
The drvdata is not available in release. Let's just use container_of()
to get the uml_net instance. Otherwise, removing a network device will
result in a crash:
RIP: 0033:net_device_release+0x10/0x6f
RSP: e20c7c40 EFLAGS: 00010206
RAX: 60
The drvdata is not available in release. Let's just use container_of()
to get the uml_net instance. Otherwise, removing a network device will
result in a crash:
RIP: 0033:net_device_release+0x10/0x6f
RSP: e20c7c40 EFLAGS: 00010206
RAX: 6002e4e7 RBX: 600f1baf RCX: 6