Commit:     83cd827977d8d20ac8c4fe56c88b53a70ac54af3
Parent:     bb8e3311ef9de8e72f45f910e4a977c313c7009c
Author:     Bruce Allan <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 15 10:36:35 2006 +0100
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Dec 26 15:51:30 2006 -0500

    [PATCH] e1000: fix to set the new max frame size before resetting the 
    This bugfix makes sure that the driver data reflects the full new situation
    before the adapter is reinitialized.
    Signed-off-by: Bruce Allan <[EMAIL PROTECTED]>
    Signed-off-by: Auke Kok <[EMAIL PROTECTED]>
    Signed-off-by: Arjan van de Ven <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/net/e1000/e1000_main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 343eb68..0d7c458 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -3485,12 +3485,11 @@ e1000_change_mtu(struct net_device *netdev, int new_mtu)
                adapter->rx_buffer_len = MAXIMUM_ETHERNET_VLAN_SIZE;
        netdev->mtu = new_mtu;
+       adapter->hw.max_frame_size = max_frame;
        if (netif_running(netdev))
-       adapter->hw.max_frame_size = max_frame;
        return 0;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to