decnet: avoid touching device refcount in dn_dev_by_index()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 4 Nov 2009 18:59:38 +0000 (10:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Nov 2009 18:59:38 +0000 (10:59 -0800)
commitb4d745db12bd2d45a456565ed63325bbfc689e68
tree2fdee34d2a383bd4891e038bd8e5fb3245cc4aba
parentd94d9fee9fa4e66a0b91640a694b8b10177075b3
decnet: avoid touching device refcount in dn_dev_by_index()

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