diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-02-25 16:35:15 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-03-03 08:32:11 +0100 |
commit | 2991397d23ec597405b116d96de3813420bdcbc3 (patch) | |
tree | 6c732c2467ced815406dffd9aa821daaa3b2e02f /arch/x86/xen | |
parent | 8310b77b48c5558c140e7a57a702e7819e62f04e (diff) | |
download | linux-2991397d23ec597405b116d96de3813420bdcbc3.tar.gz |
xen-netback: respect gnttab_map_refs()'s return value
Commit 3194a1746e8a ("xen-netback: don't "handle" error by BUG()")
dropped respective a BUG_ON() without noticing that with this the
variable's value wouldn't be consumed anymore. With gnttab_set_map_op()
setting all status fields to a non-zero value, in case of an error no
slot should have a status of GNTST_okay (zero).
This is part of XSA-367.
Cc: <stable@vger.kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/d933f495-619a-0086-5fb4-1ec3cf81a8fc@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions