linux/drivers/s390/net
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
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c ctcm_fsms: Convert skb->user accesses to refcount_t 2017-07-03 02:29:57 -07:00
ctcm_fsms.h
ctcm_main.c s390/net: reduce inlining 2017-08-15 10:58:40 -07:00
ctcm_main.h s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_mpc.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
ctcm_mpc.h
ctcm_sysfs.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
fsm.c s390/drivers: use setup_timer 2017-10-20 13:11:04 +01:00
fsm.h
Kconfig s390: remove claw driver 2015-02-28 23:38:29 -05:00
lcs.c s390/net: reduce inlining 2017-08-15 10:58:40 -07:00
lcs.h
Makefile s390: remove claw driver 2015-02-28 23:38:29 -05:00
netiucv.c s390/net: reduce inlining 2017-08-15 10:58:40 -07:00
qeth_core_main.c s390/qeth: clean up initial MTU determination 2017-10-20 13:11:04 +01:00
qeth_core_mpc.c s390/qeth: add basic VNICC support 2017-09-18 14:41:37 -07:00
qeth_core_mpc.h s390/qeth: remove duplicated device matching 2017-10-20 13:11:04 +01:00
qeth_core_sys.c s390/qeth: remove duplicated device matching 2017-10-20 13:11:04 +01:00
qeth_core.h s390/qeth: remove duplicated device matching 2017-10-20 13:11:04 +01:00
qeth_l2_main.c s390/qeth: don't verify device when setting MAC address 2017-10-20 13:11:04 +01:00
qeth_l2_sys.c s390/qeth: use kstrtobool() in qeth_bridgeport_hostnotification_store() 2017-10-20 13:11:04 +01:00
qeth_l2.h s390/qeth: add VNICC get/set timeout support 2017-09-18 14:41:37 -07:00
qeth_l3_main.c s390/qeth: fix early exit from error path 2017-10-20 13:11:04 +01:00
qeth_l3_sys.c s390/qeth: simplify L3 sysfs group management 2017-09-18 14:41:37 -07:00
qeth_l3.h s390/qeth: add support for early L3 device setup 2017-06-06 13:05:01 -04:00
smsgiucv_app.c
smsgiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
smsgiucv.h