netlabel: remove dev_put() calls
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 6 Nov 2009 04:53:47 +0000 (20:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Nov 2009 06:34:18 +0000 (22:34 -0800)
commit122ec6ffca3967ffaa96a4c7a5dc9cd71866e0bc
tree5e04166eaa0494a786fa5bb2c9c3628df03289ff
parent31ef30c760f7ddb133fa538df1dfbec1f42294d7
netlabel: remove dev_put() calls

Use dev_get_by_name_rcu() to avoid dev_put() calls,
in sections already inside a rcu_read_lock()

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