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)
commiteb0f8054dd2e8b3cdf3af4771583b1dc2e1327cc
tree3b8acdf0f6ba42afcaceb3fa552d06ef44a01630
parentf235a2abb27b9396d2108dd2987fb8262cb508a3
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