pppoe: RCU locking in get_item_by_addr()
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 1 Nov 2009 19:51:22 +0000 (19:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2009 07:55:13 +0000 (23:55 -0800)
commit1178f66eaea968d093cafd37c226ebeaa70d56cf
tree928b540a54d4a8486a73d9a1387cda326dcedef1
parent05e8689c9a3a208bf75b60662778d81e23eac460
pppoe: RCU locking in get_item_by_addr()

Use dev_get_by_name_rcu() instead of dev_get_by_name(),
to avoid touching device refcount in hotpath.

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