]> err.no Git - linux-2.6/blobdiff - drivers/net/skge.c
[SK_BUFF]: Introduce ipip_hdr(), remove skb->h.ipiph
[linux-2.6] / drivers / net / skge.c
index ca7a0e0398496d723a0139a99164e468e5143445..99b61cfb7ce669b85057b607444f2032fe292058 100644 (file)
@@ -2659,7 +2659,7 @@ static int skge_xmit_frame(struct sk_buff *skb, struct net_device *dev)
                /* This seems backwards, but it is what the sk98lin
                 * does.  Looks like hardware is wrong?
                 */
-               if (skb->h.ipiph->protocol == IPPROTO_UDP
+               if (ipip_hdr(skb)->protocol == IPPROTO_UDP
                    && hw->chip_rev == 0 && hw->chip_id == CHIP_ID_YUKON)
                        control = BMU_TCP_CHECK;
                else