]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
8139too: Allow using the largest possible MTU
authorAlban Bedel <albeu@free.fr>
Sat, 8 Nov 2014 11:48:36 +0000 (12:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Nov 2014 20:30:02 +0000 (15:30 -0500)
commit6f6e741f6de5ed5eedf7d19c9c0f8c73eaa0da7d
tree6b2b9407ebff584fb60f83f2b065a412bf0de8b2
parentef786f106fe878a90f90b67aa95201a266de12de
8139too: Allow using the largest possible MTU

This driver allows MTU up to 1518 bytes which is not enought to run
batman-adv. Simply raise the maximum packet size up to the maximum
allowed by the transmit descriptor, 1792 bytes, giving a maximum MTU
of 1774 bytes.

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139too.c