ipmr: missing dev_put() on error path in vif_add()
authorDan Carpenter <error27@gmail.com>
Wed, 11 Nov 2009 02:03:54 +0000 (02:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 03:56:54 +0000 (19:56 -0800)
commitd0490cfdf440fded2c292cfb8bb9272fc9ef6943
tree6230f8a577136ca2d82d9d00cb36cf8b5a8ae3c3
parentb8a623bf836ccfab09a5a6daf62116f455082e6e
ipmr: missing dev_put() on error path in vif_add()

The other error paths in front of this one have a dev_put() but this one
got missed.

Found by smatch static checker.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Wang Chen <ellre923@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c