mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
For unsupported device types, the vmbus channel ringbuffer is never
initialized, and therefore reading the sysfs files will return garbage
or cause a kernel OOPS.
Fixes: c2e5df616e ("vmbus: add per-channel sysfs info")
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Cc: <[email protected]> # 4.15
Signed-off-by: Greg Kroah-Hartman <[email protected]>