aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2014-11-20 17:03:05 +0800
committerDavid S. Miller <[email protected]>2014-11-21 00:26:43 -0500
commit892d6eb1245b771987afb8667a65344e568d3439 (patch)
tree5695d9a2cffaa2d0772d573e8a273f1a4555206d /net/lapb/lapb_iface.c
parent7e09dccd07518729fe3cf586beb83acffa2e64ca (diff)
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 <[email protected]> Cc: Cornelia Huck <[email protected]> Cc: Wanlong Gao <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Jason Wang <[email protected]> Acked-by: Cornelia Huck <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions