]> www.infradead.org Git - users/dwmw2/linux.git/commit
USB: Gadget Ethernet: Re-enable Jumbo frames.
authorJohn Greb <h3x4m3r0n@gmail.com>
Sun, 6 May 2018 20:01:57 +0000 (20:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Feb 2021 13:00:34 +0000 (14:00 +0100)
commit2c7a2cf336a2fb94e6c78b9ae4331581a311d01f
tree6068e2441f8215898961afeb49bbe5e90ca482fa
parent944a2bc49082d73ca6fc700cc16ca3863b228617
USB: Gadget Ethernet: Re-enable Jumbo frames.

commit eea52743eb5654ec6f52b0e8b4aefec952543697 upstream

Fixes: <b3e3893e1253> ("net: use core MTU range checking")
which patched only one of two functions used to setup the
USB Gadget Ethernet driver, causing a serious performance
regression in the ability to increase mtu size above 1500.

Signed-off-by: John Greb <h3x4m3r0n@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_ether.c