rose: device refcount leak
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 6 Nov 2009 04:56:07 +0000 (20:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Nov 2009 04:56:07 +0000 (20:56 -0800)
While hunting dev_put() for net-next-2.6, I found a device refcount
leak in ROSE, ioctl(SIOCADDRT) error path.

Fix is to not touch device refcount, as we hold RTNL

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found