diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-04-25 18:02:22 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:25:27 -0700 |
commit | b0061ce49c83657563b64ffcf1ec137110230d93 (patch) | |
tree | be6788071fdbc53261ee395f596705e1418461d1 /drivers/net/skge.c | |
parent | aa8223c7bb0b05183e1737881ed21827aa5b9e73 (diff) | |
download | blackbird-op-linux-b0061ce49c83657563b64ffcf1ec137110230d93.tar.gz blackbird-op-linux-b0061ce49c83657563b64ffcf1ec137110230d93.zip |
[SK_BUFF]: Introduce ipip_hdr(), remove skb->h.ipiph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r-- | drivers/net/skge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index ca7a0e039849..99b61cfb7ce6 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c @@ -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 |