]> err.no Git - linux-2.6/blobdiff - net/mac80211/mesh.h
net: use software GSO for SG+CSUM capable netdevices
[linux-2.6] / net / mac80211 / mesh.h
index 9f8cb76904986e4c0352e6e3025ac0f95fed581c..669eafafe497e6c6db825ac0903d612268a910dc 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/types.h>
 #include <linux/jhash.h>
+#include <asm/unaligned.h>
 #include "ieee80211_i.h"
 
 
@@ -108,7 +109,7 @@ struct mesh_table {
        __u32 hash_rnd;                 /* Used for hash generation */
        atomic_t entries;               /* Up to MAX_MESH_NEIGHBOURS */
        void (*free_node) (struct hlist_node *p, bool free_leafs);
-       void (*copy_node) (struct hlist_node *p, struct mesh_table *newtbl);
+       int (*copy_node) (struct hlist_node *p, struct mesh_table *newtbl);
        int size_order;
        int mean_chain_len;
 };