X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2F802%2Ftr.c;h=bd22ae2aabffebfc5fcd104860e65f86e35183d1;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=4f71bd37f4c4a4c47c2da1b90b3102999b983576;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/net/802/tr.c b/net/802/tr.c index 4f71bd37f..bd22ae2aa 100644 --- a/net/802/tr.c +++ b/net/802/tr.c @@ -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);