Re: [PATCH] vmbus: don't return values for uninitalized channels

2018-08-30 Thread Vitaly Kuznetsov
k...@linuxonhyperv.com writes: > From: Stephen Hemminger > > 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: c2e5df616e1a ("vmbus: add per-channel sysfs info") > > Sig

Re: [PATCH] vmbus: don't return values for uninitalized channels

2018-08-13 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > 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: c2e5df616e1a ("vmbus: add per-channel sysfs info") > Signed-off-by: Stephen Hemminger > --