net: dev_getfirstbyhwtype() optimization
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 18 Mar 2010 11:27:25 +0000 (11:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2010 03:33:36 +0000 (20:33 -0700)
commit99fe3c391d50d381687fd84ed0ab22d57079e41f
tree5e7e88d73d0d96e60c3471ab4812b847a413645d
parentec733b15a3ef0b5759141a177f8044a2f40c41e7
net: dev_getfirstbyhwtype() optimization

Use RCU to avoid RTNL use in dev_getfirstbyhwtype()

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