linux/drivers/s390
Julian Wiedmann 857d8ee260 s390/qeth: don't verify device when setting MAC address
There's no reason why l2_set_mac_address() should ever be called for
a netdevice that's not owned by qeth. It's certainly not required for
VLAN devices, which have their own netdev_ops.

Also:
1) we don't do such validation for any of the other netdev_ops routines.
2) the code in question clearly has never been actually exercised;
   it's broken. After determining that the device is not owned
   by qeth, it would still use dev->ml_priv to write a qeth trace entry.

Remove the check, and its helper that walked the global card list.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-20 13:11:04 +01:00
..
block s390/scm_blk: consistently use blk_status_t as error type 2017-09-19 08:36:18 +02:00
char s390/vmcp: simplify vmcp_response_free() 2017-08-29 16:29:02 +02:00
cio s390/cio: recover from bad paths 2017-09-19 08:36:19 +02:00
crypto s390/zcrypt: externalize AP queue interrupt control 2017-09-06 09:24:42 +02:00
net s390/qeth: don't verify device when setting MAC address 2017-10-20 13:11:04 +01:00
scsi scsi: zfcp: early returns for traces disabled via level 2017-08-10 19:37:03 -04:00
virtio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-05-16 09:24:44 -07:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00