aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2019-12-18 16:32:27 +0100
committerDavid S. Miller <[email protected]>2019-12-20 21:00:27 -0800
commit0f399305cd31e5c813086eaa264f7f47e205c10e (patch)
tree7231f4b20bce88afee5553066fe085a914fb400a /scripts/bpf_helpers_doc.py
parent2e3d7fa5d29b7ab649fdf8f9533ae0c0888a7fac (diff)
s390/qeth: fix promiscuous mode after reset
When managing the promiscuous mode during an RX modeset, qeth caches the current HW state to avoid repeated programming of the same state on each modeset. But while tearing down a device, we forget to clear the cached state. So when the device is later set online again, the initial RX modeset doesn't program the promiscuous mode since we believe it is already enabled. Fix this by clearing the cached state in the tear-down path. Note that for the SBP variant of promiscuous mode, this accidentally works right now because we unconditionally restore the SBP role while re-initializing. Fixes: 4a71df50047f ("qeth: new qeth device driver") Signed-off-by: Julian Wiedmann <[email protected]> Reviewed-by: Alexandra Winter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions