Skip to content
Commit 06673c21 authored by Jan Beulich's avatar Jan Beulich Committed by Paolo Abeni
Browse files

xen-netfront: re-order error checks in xennet_get_responses()



Check the retrieved grant reference first; there's no point trying to
have xennet_move_rx_slot() move invalid data (and further defer
recognition of the issue, likely making diagnosis yet more difficult).

Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent ad39bafd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment