2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

datapath: Fix races in updating dp_dev port statistics.

This commit is contained in:
Ben Pfaff
2009-07-08 12:32:07 -07:00
parent 828bc1f072
commit 10bf9f637b
2 changed files with 52 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ struct dp_dev {
struct net_device *dev;
struct net_device_stats stats;
struct pcpu_lstats *lstats;
};
static inline struct dp_dev *dp_dev_priv(struct net_device *netdev)