diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-07-13 12:19:55 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-07-14 13:20:18 +0300 |
commit | 06673c2102b3f0959302d65e07485ba3f2b94127 (patch) | |
tree | 4a65c6fdd94a7601fc9dcfddc9bd26e7c2dfb12b /fs/sync.c | |
parent | ad39bafda7369b241179da074005a08edcd77f27 (diff) | |
download | linux-06673c2102b3f0959302d65e07485ba3f2b94127.tar.xz |
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: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions