ipv4: inetdev_by_index() switch to RCU
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 1 Nov 2009 19:23:04 +0000 (19:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2009 07:55:09 +0000 (23:55 -0800)
commitc148fc2e30c988f7e3ac91738b2c03f1cef44849
tree3e9e213cd4dfb554f61cea5315359b1bec330590
parent9fdce099bb72df534daa6193318feaec177998fc
ipv4: inetdev_by_index() switch to RCU

Use dev_get_by_index_rcu() instead of __dev_get_by_index() and
dev_base_lock rwlock

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