]> err.no Git - linux-2.6/commit
via-velocity: don't oops on MTU change (resend)
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 28 Nov 2007 22:20:16 +0000 (14:20 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 1 Dec 2007 21:35:51 +0000 (16:35 -0500)
commit48f6b053613b62fed7a2fe3255e5568260a8d615
tree9f6795257b703468ce918e652fc750e2fc538406
parentdda93b486a25009456fca6b9c925ab4d7c6b6d6a
via-velocity: don't oops on MTU change (resend)

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 <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/via-velocity.c