mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
net/xen-netback: off by one in BUG_ON() condition
[ Upstream commit50c2e4dd67] The > should be >=. I also added spaces around the '-' operations so the code is a little more consistent and matches the condition better. Fixes:f53c3fe8da('xen-netback: Introduce TX grant mapping') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5568552ac8
commit
316590d25e
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue