VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / net / 802 / tr.c
index 4f71bd3..bd22ae2 100644 (file)
@@ -110,7 +110,7 @@ int tr_header(struct sk_buff *skb, struct net_device *dev, unsigned short type,
         */
        if (type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP)
        {
-               struct trllc *trllc=(struct trllc *)(trh+1);
+               struct trllc *trllc;
 
                hdr_len = sizeof(struct trh_hdr) + sizeof(struct trllc);
                trh = (struct trh_hdr *)skb_push(skb, hdr_len);