commit | 48f6b053613b62fed7a2fe3255e5568260a8d615 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@linux-foundation.org> | Wed Nov 28 14:20:16 2007 -0800 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Dec 01 16:35:51 2007 -0500 |
tree | 9f6795257b703468ce918e652fc750e2fc538406 | |
parent | dda93b486a25009456fca6b9c925ab4d7c6b6d6a [diff] |
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>