diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2016-10-24 14:42:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-27 16:18:50 -0400 |
commit | 110447f8269a608cd69203fa2ccd801ea92e0a1a (patch) | |
tree | 5cc86c736f6c52e7a4cfc67c1cb01bb44041409f /drivers/net/ethernet/ibm/ibmveth.c | |
parent | 0fb6af7054b5dd4f7e9682aad2697272dc9f8f22 (diff) | |
download | linux-110447f8269a608cd69203fa2ccd801ea92e0a1a.tar.gz linux-110447f8269a608cd69203fa2ccd801ea92e0a1a.tar.xz |
ethernet: fix min/max MTU typos
Fixes: d894be57ca92('ethernet: use net core MTU range checking in more drivers')
CC: Jarod Wilson <jarod@redhat.com>
CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmveth.c')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmveth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmveth.c b/drivers/net/ethernet/ibm/ibmveth.c index 29c05d0d79a9..4a81c892fc31 100644 --- a/drivers/net/ethernet/ibm/ibmveth.c +++ b/drivers/net/ethernet/ibm/ibmveth.c @@ -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); |