linux_dsm_epyc7002/drivers/hv
Stephen Hemminger 6712cc9c22 vmbus: don't return values for uninitalized channels
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 <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: <stable@vger.kernel.org> # 4.15
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-12 09:31:00 +02:00
..
channel_mgmt.c
channel.c
connection.c
hv_balloon.c
hv_fcopy.c
hv_kvp.c
hv_snapshot.c
hv_trace_balloon.h
hv_trace.c
hv_trace.h
hv_util.c
hv_utils_transport.c
hv_utils_transport.h
hv.c
hyperv_vmbus.h
Kconfig
Makefile
ring_buffer.c
vmbus_drv.c