On Tue, 17 Nov 2020 13:14:48 +1030 Joel Stanley wrote:
> When removing the driver we would hit
> BUG_ON(!list_empty(&dev->ptype_specific))
> in net/core/dev.c due to still having the NC-SI packet handler
> registered.
>
> # echo 1e66.ethernet > /sys/bus/platform/drivers/ftgmac100/unbind
>
When removing the driver we would hit BUG_ON(!list_empty(&dev->ptype_specific))
in net/core/dev.c due to still having the NC-SI packet handler
registered.
# echo 1e66.ethernet > /sys/bus/platform/drivers/ftgmac100/unbind
[ cut here ]
kernel BUG at net/core/dev.c:10