gianfar: Fix typo bug introduced by move to udp_hdr()
authorKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 05:12:04 +0000 (00:12 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 05:12:04 +0000 (00:12 -0500)
commit8da32de5c845b711a500f89342baf10c662e2ecb
tree51771f5db24832907e4fcde627d21dc81e4b07bf
parent0471448f4d017470995d8a2272dc8c06dbed3b77
gianfar: Fix typo bug introduced by move to udp_hdr()

In commit 4bedb45203eab92a87b4c863fe2d0cded633427f both the udp and tcp
cases where changed to use udp_hdr() instead of leaving the tcp case
alone and fixing with tcp_hdr().

This ended up causing random behavior with TCP connections because
of looking for tcp_hdr()->check in the wrong place.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/net/gianfar.c