]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/sched/cls_u32.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[karo-tx-linux.git] / net / sched / cls_u32.c
index 375e51b71c80560b8acf37079725e63d7786cdbf..cab9e9b43967a57780140b9229c8cadff088607c 100644 (file)
@@ -78,8 +78,11 @@ struct tc_u_hnode {
        struct tc_u_common      *tp_c;
        int                     refcnt;
        unsigned int            divisor;
-       struct tc_u_knode __rcu *ht[1];
        struct rcu_head         rcu;
+       /* The 'ht' field MUST be the last field in structure to allow for
+        * more entries allocated at end of structure.
+        */
+       struct tc_u_knode __rcu *ht[1];
 };
 
 struct tc_u_common {