aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorVineeth Vijayan <[email protected]>2022-02-02 21:45:56 +0100
committerVasily Gorbik <[email protected]>2022-02-09 22:55:01 +0100
commitdd9cb842fa9d90653a9b48aba52f89c069f3bc50 (patch)
tree84919f73f28005929259e1dce46818c64d3ae55b /net/switchdev/switchdev.c
parente286f231eab410793f3e91c924e6dbd23edee05a (diff)
s390/cio: verify the driver availability for path_event call
If no driver is attached to a device or the driver does not provide the path_event function, an FCES path-event on this device could end up in a kernel-panic. Verify the driver availability before the path_event function call. Fixes: 32ef938815c1 ("s390/cio: Add support for FCES status notification") Cc: [email protected] Signed-off-by: Vineeth Vijayan <[email protected]> Suggested-by: Peter Oberparleiter <[email protected]> Reviewed-by: Jan Hoeppner <[email protected]> Reviewed-by: Peter Oberparleiter <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions