]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ibmvnic: Return failure on attempted mtu change
authorJohn Allen <jallen@linux.vnet.ibm.com>
Tue, 6 Jun 2017 21:55:52 +0000 (16:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jun 2017 19:02:45 +0000 (15:02 -0400)
commit3a807b751c66e76bff39da4a9bd9828d7866d025
tree498bcbbb43e60e9032d90ef4897f1f0bb4433f5a
parente4061d572cef1f990bb7761f45d00342daa27fbd
ibmvnic: Return failure on attempted mtu change

Changing the mtu is currently not supported in the ibmvnic driver.

Implement .ndo_change_mtu in the driver so that attempting to use ifconfig
to change the mtu will fail and present the user with an error message.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c