summaryrefslogtreecommitdiff
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-06-12 01:55:22 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-06-12 01:55:22 (GMT)
commit83fe32de63e60af34fa8dae83716cb13b8677abd (patch)
treee4f7526b481ac06bdb7fb6712d30a84ac64aa7ab /drivers/net/loopback.c
parentf1c089e3192f1afdfa76226dc38ef81b08ac810d (diff)
downloadlinux-fsl-qoriq-83fe32de63e60af34fa8dae83716cb13b8677abd.tar.xz
netpoll: call dev_put() on error in netpoll_setup()
There is a dev_put(ndev) missing on an error path. This was introduced in 0c1ad04aecb "netpoll: prevent netpoll setup on slave devices". Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions