net/vmxnet3: return 0 on unknown command

Return 0 on unknown command, this is what esxi (5.x+) behaves.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
Miao Yan 2015-12-22 22:06:10 -08:00 committed by Jason Wang
parent 5ae3e91c35
commit 8856be1512

View File

@ -1716,7 +1716,7 @@ static uint64_t vmxnet3_get_command_status(VMXNET3State *s)
default:
VMW_WRPRN("Received request for unknown command: %x", s->last_command);
ret = -1;
ret = 0;
break;
}