Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtl8150: use default MTU of 1500

The RTL8150 driver uses an MTU of 1540 by default, which causes a
bunch of problems -- it prevents booting from NFS root, for one.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Petko Manolov <petkan@nucleusys.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Lennert Buytenhek and committed by
David S. Miller
ad84243e 83084fa3

-1
-1
drivers/net/usb/rtl8150.c
··· 926 926 netdev->set_multicast_list = rtl8150_set_multicast; 927 927 netdev->set_mac_address = rtl8150_set_mac_address; 928 928 netdev->get_stats = rtl8150_netdev_stats; 929 - netdev->mtu = RTL8150_MTU; 930 929 SET_ETHTOOL_OPS(netdev, &ops); 931 930 dev->intr_interval = 100; /* 100ms */ 932 931