From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH] via-velocity: don't oops on MTU change (resend) Date: Sat, 01 Dec 2007 16:36:12 -0500 Message-ID: <4751D3CC.7020607@pobox.com> References: <20071114193844.0cab5c7d@freepuppy.rosehill> <20071115082600.GA2366@ff.dom.local> <20071115102005.0cf46f9a@freepuppy.rosehill> <473CD1F6.9030709@o2.pl> <20071115203508.4ad025f2@freepuppy.rosehill> <20071128142016.0eecbd2c@freepuppy.rosehill> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jon Nelson , Jarek Poplawski , netdev@vger.kernel.org To: Stephen Hemminger Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:32944 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751167AbXLAVgX (ORCPT ); Sat, 1 Dec 2007 16:36:23 -0500 In-Reply-To: <20071128142016.0eecbd2c@freepuppy.rosehill> Sender: netdev-owner@vger.kernel.org List-ID: Stephen Hemminger wrote: > The VIA veloicty driver needs the following to allow changing MTU when down. > The buffer size needs to be computed when device is brought up, not when > device is initialized. This also fixes a bug where the buffer size was > computed differently on change_mtu versus initial setting. > > Signed-off-by: Stephen Hemminger > > --- > This is a properly formatted version of previously submitted patch. > Please apply for 2.6.24 applied