Re: [PATCH net-next] net: add CONFIG_PCPU_DEV_REFCNT

2021-03-19 Thread kernel test robot
Hi Eric, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Eric-Dumazet/net-add-CONFIG_PCPU_DEV_REFCNT/20210319-230417 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 38cb576

[PATCH net-next] net: add CONFIG_PCPU_DEV_REFCNT

2021-03-19 Thread Eric Dumazet
From: Eric Dumazet I was working on a syzbot issue, claiming one device could not be dismantled because its refcount was -1 unregister_netdevice: waiting for sit0 to become free. Usage count = -1 It would be nice if syzbot could trigger a warning at the time this reference count became negative