1
0
Fork 0
remarkable-linux/drivers/net
Juergen Gross 7eced4478f 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 03:06:03 -07:00
..
appletalk net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT 2018-09-29 03:06:00 -07:00
arcnet License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bonding bonding: avoid lockdep confusion in bond_get_stats() 2018-08-06 16:20:47 +02:00
caif License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
can can: m_can: Move accessing of message ram to after clocks are enabled 2018-09-05 09:26:28 +02:00
cris License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dsa net: dsa: qca8k: Allow overwriting CPU port setting 2018-08-03 07:50:44 +02:00
ethernet net: hp100: fix always-true check for link up state 2018-09-29 03:06:00 -07:00
fddi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fjes
hamradio net: hamradio: use eth_broadcast_addr 2018-08-24 13:09:02 +02:00
hippi hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close 2018-02-25 11:08:04 +01:00
hyperv hv/netvsc: Fix NULL dereference at single queue mode fallback 2018-09-26 08:37:58 +02:00
ieee802154 ieee802154: fakelb: switch from BUG_ON() to WARN_ON() on problem 2018-08-24 13:09:14 +02:00
ipvlan ipvlan: call dev_change_flags when ipvlan mode is reset 2018-08-24 13:09:11 +02:00
phy net: phy: Fix the register offsets in Broadcom iProc mdio mux driver 2018-09-19 22:43:39 +02:00
plip
ppp pppoe: fix reception of frames with no mac header 2018-09-29 03:06:00 -07:00
slip slip: Check if rstate is initialized before uncompressing 2018-04-19 08:56:16 +02:00
team team: use netdev_features_t instead of u32 2018-06-11 22:49:20 +02:00
usb qmi_wwan: set DTR for modems in forced USB2 mode 2018-09-29 03:06:00 -07:00
vmxnet3 vmxnet3: use DMA memory barriers where required 2018-05-25 16:17:25 +02:00
wan wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_alloc 2018-09-26 08:38:03 +02:00
wimax License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wireless ath10k: disable bundle mgmt tx completion event support 2018-09-19 22:43:42 +02:00
xen-netback xen-netfront, xen-netback: Use correct minimum MTU values 2017-10-16 16:00:44 -04:00
Kconfig x86/lguest: Remove lguest support 2017-08-24 09:57:28 +02:00
LICENSE.SRC
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Space.c
dummy.c
eql.c
geneve.c net: fix use-after-free in GRO with ESP 2018-07-22 14:28:44 +02:00
gtp.c gtp: Initialize 64-bit per-cpu stats correctly 2017-08-01 20:06:07 -07:00
ifb.c
loopback.c
macsec.c macsec: fix memory leaks when skb_to_sgvec fails 2017-10-11 14:07:20 -07:00
macvlan.c macvlan: fix use-after-free in macvlan_common_newlink() 2018-05-30 07:52:02 +02:00
macvtap.c tap: reference to KVA of an unloaded module causes kernel panic 2017-10-28 19:17:21 +09:00
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan 2018-06-26 08:06:28 +08:00
tun.c tuntap: fix use after free during release 2018-09-19 22:43:48 +02:00
veth.c veth: set peer GSO values 2018-03-19 08:42:54 +01:00
virtio_net.c net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan 2018-06-26 08:06:28 +08:00
vrf.c vrf: Fix use after free and double free in vrf_finish_output 2018-04-12 12:32:24 +02:00
vsockmon.c
vxlan.c vxlan: fix default fdb entry netlink notify ordering during netdev create 2018-07-28 07:55:43 +02:00
xen-netfront.c xen/netfront: don't bug in case of too many frags 2018-09-29 03:06:03 -07:00