]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcfd69556c323b12347b38d37dc24c26337f7c0ed
tree51771f5db24832907e4fcde627d21dc81e4b07bf
parentbcae86a38a48c5b1c2cb8f5704e7a0bc1d3a0488
gianfar: Fix typo bug introduced by move to udp_hdr()

In commit 08641958d05712dfbcf0aed0273e52e0848ee6ef 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