]> git.baikalelectronics.ru Git - kernel.git/commit
CAN: use dev_get_by_index_rcu
authorstephen hemminger <shemminger@vyatta.com>
Tue, 10 Nov 2009 07:54:56 +0000 (07:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Nov 2009 06:27:13 +0000 (22:27 -0800)
commitf17d5ccceb17eb2871c0841351e88420451e3e0b
tree2747cacc2b0882c7b85f92864ac69f1f01df6460
parentb8b4578d7c07382f2a48fabb497b58ab597df1d7
CAN: use dev_get_by_index_rcu

Use new function to avoid doing read_lock().

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/bcm.c