diff options
author | Juergen Gross <jgross@suse.com> | 2018-09-11 09:04:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-13 08:22:15 -0700 |
commit | ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c (patch) | |
tree | a4b6990e284093f1c13c44fb00548006b4238f2e /net | |
parent | 22d0bd82cc7cec7d9ed4bd5913f3ab65643364be (diff) | |
download | linux-ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c.tar.bz2 |
xen/netfront: don't bug in case of too many frags
Commit 57f230ab04d291 ("xen/netfront: raise max number of slots in
xennet_get_responses()") raised the max number of allowed slots by one.
This seems to be problematic in some configurations with netback using
a larger MAX_SKB_FRAGS value (e.g. old Linux kernel with MAX_SKB_FRAGS
defined as 18 instead of nowadays 17).
Instead of BUG_ON() in this case just fall back to retransmission.
Fixes: 57f230ab04d291 ("xen/netfront: raise max number of slots in xennet_get_responses()")
Cc: stable@vger.kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions