diff options
Diffstat (limited to 'net/openvswitch/flow.h')
-rw-r--r-- | net/openvswitch/flow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/flow.h b/net/openvswitch/flow.h index 3e2cc2202d66..a5506e2d4b7a 100644 --- a/net/openvswitch/flow.h +++ b/net/openvswitch/flow.h | |||
@@ -194,7 +194,7 @@ struct sw_flow_actions { | |||
194 | struct nlattr actions[]; | 194 | struct nlattr actions[]; |
195 | }; | 195 | }; |
196 | 196 | ||
197 | struct flow_stats { | 197 | struct sw_flow_stats { |
198 | u64 packet_count; /* Number of packets matched. */ | 198 | u64 packet_count; /* Number of packets matched. */ |
199 | u64 byte_count; /* Number of bytes matched. */ | 199 | u64 byte_count; /* Number of bytes matched. */ |
200 | unsigned long used; /* Last used time (in jiffies). */ | 200 | unsigned long used; /* Last used time (in jiffies). */ |
@@ -216,7 +216,7 @@ struct sw_flow { | |||
216 | struct cpumask cpu_used_mask; | 216 | struct cpumask cpu_used_mask; |
217 | struct sw_flow_mask *mask; | 217 | struct sw_flow_mask *mask; |
218 | struct sw_flow_actions __rcu *sf_acts; | 218 | struct sw_flow_actions __rcu *sf_acts; |
219 | struct flow_stats __rcu *stats[]; /* One for each CPU. First one | 219 | struct sw_flow_stats __rcu *stats[]; /* One for each CPU. First one |
220 | * is allocated at flow creation time, | 220 | * is allocated at flow creation time, |
221 | * the rest are allocated on demand | 221 | * the rest are allocated on demand |
222 | * while holding the 'stats[0].lock'. | 222 | * while holding the 'stats[0].lock'. |