ethernet: fix min/max MTU typos
PATCH 1/1 ethernet: fix min/max MTU typos
Fixes d894be57ca92('ethernet: use net core MTU range checking in more drivers')
CC Jarod Wilson <[email protected]>
CC Thomas Falcon <[email protected]>
Signed-off-by Stefan Richter <[email protected]>
--- drivers/net/ethernet/broadcom/sb1250-mac.c | 2 +- drivers/net/ethernet/ibm/ibmveth.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/broadcom/sb1250-mac.c +1 -1
@@ -2219,7 +2219,7 @@ static int sbmac_init(struct platform_device *pldev, long long base) dev->netdev_ops = &sbmac_netdev_ops; dev->watchdog_timeo =TX_TIMEOUT ; - dev->max_mtu =0 ; + dev->min_mtu =0 ; dev->max_mtu =ENET_PACKET_SIZE ;netif_napi_add (dev, &sc->napi, sbmac_poll,16 );
drivers/net/ethernet/ibm/ibmveth.c +1 -1
@@ -1549,7 +1549,7 @@ static int ibmveth_probe(struct vio_dev *dev, const struct vio_device_id *id) } netdev->min_mtu =IBMVETH_MIN_MTU ; - netdev->min_mtu =ETH_MAX_MTU ; + netdev->max_mtu =ETH_MAX_MTU ;memcpy (netdev->dev_addr, mac_addr_p,ETH_ALEN );
Signature · 3 lines
Stefan Richter -======----- =-=- ==--- http://arcgraph.de/sr/
Quoted 4 lines · Stefan Richter
Fixes d894be57ca92('ethernet: use net core MTU range checking in more drivers')CC Jarod Wilson <[email protected]>CC Thomas Falcon <[email protected]>Signed-off-by Stefan Richter <[email protected]>
Wuf. Thank you, Stefan. Way too many bleeding eyeball hours staring at all those changes.
Acked-by Jarod Wilson <[email protected]>
Signature · 2 lines
Jarod Wilson [email protected]
From: Stefan Richter <[email protected]>
Date: Mon, 24 Oct 2016 14:42:26 +0200
Quoted 4 lines
Fixes d894be57ca92('ethernet: use net core MTU range checking in more drivers')CC Jarod Wilson <[email protected]>CC Thomas Falcon <[email protected]>Signed-off-by Stefan Richter <[email protected]>
Applied.