There is a dev_put(ndev) missing on an error path. This was introduced in 0c1ad04aec "netpoll: prevent netpoll setup on slave devices". Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
0c1ad04aec