datapath: Fix WARN_ON sending GSO packets to userspace in Linux 2.6.22+.
[openvswitch] / datapath / dp_dev.h
index 1b17d8f9c0cc1db9e55c3c86f03208e243808777..1fb4394fd518a3ed388a6cba2c7ca7850a73d10e 100644 (file)
@@ -9,16 +9,15 @@
 #ifndef DP_DEV_H
 #define DP_DEV_H 1
 
+#include <linux/percpu.h>
+
 struct dp_dev {
        struct datapath *dp;
        int port_no;
 
        struct net_device *dev;
        struct net_device_stats stats;
-       struct sk_buff_head xmit_queue;
-       struct work_struct xmit_work;
-
-       struct list_head list;
+       struct pcpu_lstats *lstats;
 };
 
 static inline struct dp_dev *dp_dev_priv(struct net_device *netdev)