net: fix incorrect access to pointer
commit2c5e564f4d8309ee0f47029ab461c4c4459f43c4
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Jul 2016 08:43:32 +0000 (15 10:43 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 18 Jul 2016 08:16:49 +0000 (18 16:16 +0800)
treef564a9c73266b9c845aa29cbe85f79fd69fcf6da
parent1ac6c07f4288b0a563310fad0cdabb3a47c85607
net: fix incorrect access to pointer

This is not dereferencing the pointer, and instead checking only
the value of the pointer.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/eth.c