bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
[linux-2.6-microblaze.git] / net / strparser / strparser.c
index 9c03435..1a72c67 100644 (file)
 
 static struct workqueue_struct *strp_wq;
 
-struct _strp_msg {
-       /* Internal cb structure. struct strp_msg must be first for passing
-        * to upper layer.
-        */
-       struct strp_msg strp;
-       int accum_len;
-};
-
 static inline struct _strp_msg *_strp_msg(struct sk_buff *skb)
 {
        return (struct _strp_msg *)((void *)skb->cb +
-               offsetof(struct qdisc_skb_cb, data));
+               offsetof(struct sk_skb_cb, strp));
 }
 
 /* Lower lock held */