X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2F802%2Fhippi.c;h=138302c14ee605c84cca9fa3760c0826b91d1f42;hb=0a4f23fbbff70c268b0f2f5e0b87301c132fb305;hp=35dd938cff95133b2bcf9076e2e553fb8eb50d4c;hpb=c8fb7948dc1aeff0515b2912b564d4236f6c0ebd;p=powerpc.git diff --git a/net/802/hippi.c b/net/802/hippi.c index 35dd938cff..138302c14e 100644 --- a/net/802/hippi.c +++ b/net/802/hippi.c @@ -126,14 +126,14 @@ __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev) { struct hippi_hdr *hip; - hip = (struct hippi_hdr *) skb->data; - /* * This is actually wrong ... question is if we really should * set the raw address here. */ - skb->mac.raw = skb->data; - skb_pull(skb, HIPPI_HLEN); + skb->dev = dev; + skb->mac.raw = skb->data; + hip = (struct hippi_hdr *)skb->mac.raw; + skb_pull(skb, HIPPI_HLEN); /* * No fancy promisc stuff here now.