Files
Juergen Gross b73a161e9b xen/netfront: don't bug in case of too many frags
commit ad4f15dc2c upstream.

Commit 57f230ab04 ("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: 57f230ab04 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-29 02:55:56 -07:00
..
…
…
…
…
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
…
…
2018-06-12 16:19:22 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-07-16 13:38:29 -07:00
…
…