]> Git Repo - qemu.git/commit
vhost_net: init acked_features to backend_features
authorJason Wang <[email protected]>
Wed, 3 Sep 2014 06:25:30 +0000 (14:25 +0800)
committerMichael S. Tsirkin <[email protected]>
Wed, 3 Sep 2014 13:41:05 +0000 (16:41 +0300)
commitb49ae9138d5cadb47fb868297fbcdac8292fb666
treebce4155090b858c6a29a27c51b472c64189f47ba
parentcd7d1d26b0a333bf2fca715e332690bbd738c097
vhost_net: init acked_features to backend_features

commit 2e6d46d77ed328d34a94688da8371bcbe243479b (vhost: add
vhost_get_features and vhost_ack_features) removes the step that
initializes the acked_features to backend_features.

As this field is now uninitialized, vhost initialization will sometimes
fail.

To fix, initialize acked_features on each ack.

Tested-by: Andrey Korolyov <[email protected]>
Cc: Nikolay Nikolaev <[email protected]>
Cc: [email protected]
Signed-off-by: Jason Wang <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/net/vhost_net.c
This page took 0.022477 seconds and 4 git commands to generate.