linux/drivers/net
Colin Ian King 1d3028f4c1 net: stmmac: fix a broken u32 less than zero check
The check that queue is less or equal to zero is always true
because queue is a u32; queue is decremented and will wrap around
and never go -ve. Fix this by making queue an int.

Detected by CoverityScan, CID#1428988 ("Unsigned compared against 0")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-06 16:26:28 -04:00
..
appletalk
arcnet
bonding bonding: Don't update slave->link until ready to commit 2017-05-25 14:47:35 -04:00
caif
can
cris
dsa net: dsa: mv88e6xxx: Add missing static to stub functions 2017-05-30 14:07:53 -04:00
ethernet net: stmmac: fix a broken u32 less than zero check 2017-06-06 16:26:28 -04:00
fddi
fjes
hamradio hdlcdrv: Fix divide by zero in hdlcdrv_ioctl 2017-05-27 18:44:17 -04:00
hippi
hyperv
ieee802154
ipvlan
irda
phy net: phy: fix kernel-doc warnings 2017-06-05 11:28:50 -04:00
plip
ppp
slip
team
usb
vmxnet3
wan
wimax
wireless Fixes for 4.12: 2017-06-05 22:21:25 +03:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
dummy.c
eql.c
geneve.c geneve: fix needed_headroom and max_mtu for collect_metadata 2017-06-04 20:03:09 -04:00
gtp.c net: fix potential null pointer dereference 2017-05-25 12:54:02 -04:00
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
tun.c
veth.c
virtio_net.c virtio_net: lower limit on buffer size 2017-06-02 14:32:34 -04:00
vrf.c
vsockmon.c
vxlan.c vxlan: fix use-after-free on deletion 2017-06-02 14:29:16 -04:00
xen-netfront.c