summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2014-11-20 09:03:05 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-11-21 05:26:43 (GMT)
commit892d6eb1245b771987afb8667a65344e568d3439 (patch)
tree5695d9a2cffaa2d0772d573e8a273f1a4555206d /net
parent7e09dccd07518729fe3cf586beb83acffa2e64ca (diff)
downloadlinux-892d6eb1245b771987afb8667a65344e568d3439.tar.xz
virtio-net: validate features during probe
We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ is not set but one of features depending on it is. That's not a friendly way to report errors to hypervisors. Let's check, and fail probe instead. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Cc: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions