aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik2007-07-02 08:15:33 -0400
committerJeff Garzik2007-07-02 08:15:33 -0400
commitc529e632a286cd9e493398fa73e0aa1fc5a45ce5 (patch)
treebf7c1c14e3fd582245066c6c8840adaba58ba3df /drivers
parent36f9d0c5e9dc650de26b112079f46e6160a881a0 (diff)
parent8da32de5c845b711a500f89342baf10c662e2ecb (diff)
Merge branch 'for_linus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into upstream-fixes
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/gianfar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 6822bf14267b..1b854bf07b09 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -944,7 +944,7 @@ static inline void gfar_tx_checksum(struct sk_buff *skb, struct txfcb *fcb)
flags |= TXFCB_UDP;
fcb->phcs = udp_hdr(skb)->check;
} else
- fcb->phcs = udp_hdr(skb)->check;
+ fcb->phcs = tcp_hdr(skb)->check;
/* l3os is the distance between the start of the
* frame (skb->data) and the start of the IP hdr.