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
virtio: wrap find_vqs
2017-05-02 23:41:42 +03:00
can
Annotation of module parameters that specify device settings
2017-05-10 19:13:03 -07:00
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
format-security: move static strings to const
2017-05-08 17:15:14 -07:00
fjes
hamradio
hdlcdrv: Fix divide by zero in hdlcdrv_ioctl
2017-05-27 18:44:17 -04:00
hippi
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-05-09 15:42:31 -07:00
hyperv
netvsc: make sure napi enabled before vmbus_open
2017-05-04 11:08:36 -04:00
ieee802154
ipvlan
irda
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-05-15 15:50:49 -07:00
phy
net: phy: fix kernel-doc warnings
2017-06-05 11:28:50 -04:00
plip
ppp
slip
team
usb
cdc-ether: divorce initialisation with a filter reset and a generic method
2017-05-23 11:01:28 -04:00
vmxnet3
vmxnet3: ensure that adapter is in proper state during force_close
2017-05-12 12:23:52 -04:00
wan
Annotation of module parameters that specify device settings
2017-05-10 19:13:03 -07:00
wimax
drivers: net: wimax: i2400m: i2400m-usb: Use time_after for time comparison
2017-05-09 09:40:33 -04:00
wireless
Fixes for 4.12:
2017-06-05 22:21:25 +03:00
xen-netback
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
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvlan: Fix performance issues with vlan tagged packets
2017-05-15 14:18:11 -04:00
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.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
driver: vrf: Fix one possible use-after-free issue
2017-05-11 12:13:11 -04:00
vsockmon.c
vxlan.c
vxlan: fix use-after-free on deletion
2017-06-02 14:29:16 -04:00
xen-netfront.c
xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
2017-05-11 21:38:50 -04:00