datapath: Take a rcu_dereference() in netdev_get_vport()
authorSimon Horman <horms@verge.net.au>
Mon, 23 Aug 2010 06:30:09 +0000 (15:30 +0900)
committerJesse Gross <jesse@nicira.com>
Mon, 23 Aug 2010 18:37:44 +0000 (14:37 -0400)
commitf59a10a8b676546d120136e20445212c848e7c95
tree8ca10a764dcc2e13dd3763221c7281d0b0021e36
parentacf8144fa6b325a2e4b1cdf8fe116472f2ca7aca
datapath: Take a rcu_dereference() in netdev_get_vport()

Although not strictly necessary, this will make this
function more consistent when compatibility for 2.6.36 is added.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/vport-netdev.c