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)
commitff879eb611dba859c4349048a32789e8c82afa91
tree2747cacc2b0882c7b85f92864ac69f1f01df6460
parent61fbab77a843d2e772322ac130715cc9a98bf718
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