]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Fix jumbo frame receive code.
authorAuke Kok <auke-jan.h.kok@intel.com>
Thu, 25 Oct 2007 20:57:44 +0000 (13:57 -0700)
committerJeff Garzik <jeff@garzik.org>
Mon, 29 Oct 2007 09:47:08 +0000 (05:47 -0400)
commit9217765e420e48b5f29f2a20d015bd7db3a6f63a
tree0531dd3d7501a519946046d2cf18d596bcb4d903
parent03ad2cb639cb28e827af39ee1802902236c0d59a
e1000e: Fix jumbo frame receive code.

Fix allocation and freeing of jumbo frames where several bugs
were recently introduced by cleanups after we forked this code
from e1000. This moves ps_pages to buffer_info where it really
belongs and makes it a dynamically allocated array. The penalty
is not that high since it's allocated outside of the buffer_info
struct anyway.

Without this patch all jumbo frames are completely broken and the
driver panics.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/netdev.c