projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b64a4
)
tg3: Fix TSO loopback test
author
Matt Carlson
<
[email protected]
>
Thu, 19 May 2011 12:12:50 +0000
(12:12 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 19 May 2011 22:00:00 +0000
(18:00 -0400)
Commit
bb158d696489244f79fd4c3abd47968a06b48c79
, entitled
"tg3: Add TSO loopback test", mistakenly inverted the checksum field
test from the receive BD. This patch corrects the problem.
Signed-off-by: Matt Carlson <
[email protected]
>
Reviewed-by: Michael Chan <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/tg3.c
patch
|
blob
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index 7675231d9a9d3be408d002b4f3121506ce3bc0a7..d05c6a06da4400fec8c5743024e8bdbfae94c436 100644
(file)
--- a/
drivers/net/tg3.c
+++ b/
drivers/net/tg3.c
@@
-11195,7
+11195,7
@@
static int tg3_run_loopback(struct tg3 *tp, u32 pktsz, int loopback_mode)
}
} else if ((desc->type_flags & RXD_FLAG_TCPUDP_CSUM) &&
(desc->ip_tcp_csum & RXD_TCPCSUM_MASK)
- >> RXD_TCPCSUM_SHIFT
=
= 0xffff) {
+ >> RXD_TCPCSUM_SHIFT
!
= 0xffff) {
goto out;
}