]> git.karo-electronics.de Git - linux-beck.git/commit
ixgbe: properly return CHECKSUM_NONE, cleanup csum code
authorAyyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
Fri, 1 Feb 2008 23:59:09 +0000 (15:59 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 5 Feb 2008 18:31:35 +0000 (13:31 -0500)
commite59bd25d579c143f1b93a33d3243d67abbb15abe
tree69c0f6a7c074c2dd4fe64d032f17517e212853cc
parent5eba3699a3b2e0d7afa0d4594980bafb1e47e2b4
ixgbe: properly return CHECKSUM_NONE, cleanup csum code

We were not returning CHECKSUM_NONE in a lot of cases which is
wrong. Move common exit points in this function and error code
up before the actual work in this function.

Signed-off-by: Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ixgbe/ixgbe_main.c