commit | 02472e28b9a45471c6d8729ff2c7422baa9be46a | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Thu Jul 30 17:01:20 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 31 16:44:36 2020 -0700 |
tree | 572dcf196182b265b285a63fb0fc54192ae5a201 | |
parent | 7c94a88295008f66e9a0efc1c15d8511f73a0366 [diff] |
s390/qeth: don't process empty bridge port events Discard events that don't contain any entries. This shouldn't happen, but subsequent code relies on being able to use entry 0. So better be safe than accessing garbage. Fixes: b4d72c08b358 ("qeth: bridgeport support - basic control") Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>