linux-imx/include
Nogah Frankel 90eef1fb80 net_sched: red: Avoid illegal values
commit 8afa10cbe2 upstream.

Check the qmin & qmax values doesn't overflow for the given Wlog value.
Check that qmin <= qmax.

Fixes: a783474591 ("[PKT_SCHED]: Generic RED layer")
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.2:
 - Drop changes in sch_sfq
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-03-03 15:50:44 +00:00
..
acpi ACPICA: Tables: Fix an issue that FACS initialization is performed twice 2015-08-12 16:33:18 +02:00
asm-generic scsi: dma-mapping: always provide dma_get_cache_alignment 2018-03-03 15:50:38 +00:00
crypto crypto: hmac - require that the underlying hash algorithm is unkeyed 2018-01-01 20:51:05 +00:00
drm drm: Fix an unwanted master inheritance v2 2015-12-30 02:26:00 +00:00
keys
linux USB: core: Add type-specific length check of BOS descriptors 2018-03-03 15:50:40 +00:00
math-emu
media tuner: Fix numberspace conflict between xc4000 and pti 5nf05 tuners 2012-01-25 16:13:51 -08:00
misc [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
mtd mtd: kill old field for `struct mtd_info_user' 2011-09-11 15:57:44 +03:00
net net_sched: red: Avoid illegal values 2018-03-03 15:50:44 +00:00
pcmcia
rdma IB/core: Add inline function to validate port 2017-10-12 15:27:14 +01:00
rxrpc
scsi scsi: libsas: align sata_device's rps_resp on a cacheline 2018-03-03 15:50:39 +00:00
sound ALSA: seq: Avoid invalid lockdep class warning 2018-01-01 20:51:02 +00:00
target target: Fix lookup of dynamic NodeACLs during cached demo-mode operation 2013-03-06 03:24:03 +00:00
trace KVM: Fix stack-out-of-bounds read in write_mmio 2018-01-01 20:51:04 +00:00
video OMAPDSS: HDMI: PHY burnout fix 2012-03-12 12:31:38 -07:00
xen xen: Add RING_COPY_REQUEST() 2016-01-22 21:40:06 +00:00
Kbuild