net_cls: Use __dev_get_by_index()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 6 Nov 2009 04:57:26 +0000 (20:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Nov 2009 06:34:21 +0000 (22:34 -0800)
commitbd27a8750c9b849068d80e298f99940bb7128b33
tree606acde68192483fe9800b5b7afc3628857a1e60
parent40c9c31e388bfd513269df737f874d0cd53c1616
net_cls: Use __dev_get_by_index()

We hold RTNL in tc_dump_tfilter(), we can avoid dev_hold()/dev_put()

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