linux-uconsole/drivers/s390/net
Alexandra Winter 433e220d61 s390/qeth: Fix vnicc_is_in_use if rx_bcast not set
commit e8a66d8004 upstream.

Symptom: After vnicc/rx_bcast has been manually set to 0,
	bridge_* sysfs parameters can still be set or written.
Only occurs on HiperSockets, as OSA doesn't support changing rx_bcast.

Vnic characteristics and bridgeport settings are mutually exclusive.
rx_bcast defaults to 1, so manually setting it to 0 should disable
bridge_* parameters.

Instead it makes sense here to check the supported mask. If the card
does not support vnicc at all, bridge commands are always allowed.

Fixes: caa1f0b10d ("s390/qeth: add VNICC enable/disable support")
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:47:01 +01:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h
ctcm_main.c s390: ctcm: fix ctcm_new_device error return code 2019-05-16 19:41:24 +02:00
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
ism.h
ism_drv.c s390/ism: ignore some errors during deregistration 2019-04-05 22:33:04 +02:00
Kconfig
lcs.c
lcs.h
Makefile
netiucv.c
qeth_core.h s390: qeth: address type mismatch warning 2019-05-31 06:46:14 -07:00
qeth_core_main.c s390/qeth: uninstall IRQ handler on device removal 2019-11-20 18:46:51 +01:00
qeth_core_mpc.c
qeth_core_mpc.h
qeth_core_sys.c
qeth_l2.h
qeth_l2_main.c s390/qeth: Fix vnicc_is_in_use if rx_bcast not set 2020-01-17 19:47:01 +01:00
qeth_l2_sys.c
qeth_l3.h
qeth_l3_main.c s390/qeth: invoke softirqs after napi_schedule() 2019-11-20 18:46:51 +01:00
qeth_l3_sys.c
smsgiucv.c
smsgiucv.h
smsgiucv_app.c