Use rcu_dereference() before we dereference an RCU-protected pointer.
authorBen Pfaff <blp@nicira.com>
Tue, 30 Dec 2008 19:23:36 +0000 (11:23 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 30 Dec 2008 19:32:56 +0000 (11:32 -0800)
commit6ed3226c56bfe4b32e0cc2751368fcd12f9cac73
tree6de1482cd3d9f1369fb12757b9d6c782f7d896ba
parent93b8eab4d754d7aef2b90f28cd99ddc275279008
Use rcu_dereference() before we dereference an RCU-protected pointer.

The access to dps[i]->netdev->name is a dereference that should be
protected by rcu_dereference().
datapath/datapath.c