]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: fix panic on large frame receive when mtu=default
authorAuke Kok <auke\-jan.h.kok@intel.com>
Fri, 14 Jul 2006 23:14:48 +0000 (16:14 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Fri, 14 Jul 2006 23:14:48 +0000 (16:14 -0700)
commit4bde1b640cdfe7b86929a3b365416a0eed649db9
tree3b8acdf0f6ba42afcaceb3fa552d06ef44a01630
parent78fb1a3c08862e31ed34e31aa5bc7be7d1c761d8
e1000: fix panic on large frame receive when mtu=default

A panic was reported when receiving 1522 size packets if using
the default MTU. we should set the initial rx buffer length to the
value that e1000changemtu sets so that we can receive any packet
that would not be dropped by LPE=0.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke.jan.h.kok@intel.com>
drivers/net/e1000/e1000.h
drivers/net/e1000/e1000_main.c