diff options
| author | Paul E. McKenney <[email protected]> | 2010-05-02 18:10:06 -0700 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2010-06-14 16:37:27 -0700 |
| commit | 81bdf5bd7349bd4523538cbd7878f334bc2bfe14 (patch) | |
| tree | 8b12ba3191eca882d550369a7a4826a501a3b215 /tools/perf/scripts/python | |
| parent | 2c666df80764389886110c942a7916ba9622583d (diff) | |
net: Make accesses to ->br_port safe for sparse RCU
The new versions of the rcu_dereference() APIs requires that any pointers
passed to one of these APIs be fully defined. The ->br_port field
in struct net_device points to a struct net_bridge_port, which is an
incomplete type. This commit therefore changes ->br_port to be a void*,
and introduces a br_port() helper function to convert the type to struct
net_bridge_port, and applies this new helper function where required.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: David Miller <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Eric Dumazet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions