android_kernel_oneplus_msm8998/drivers/net
Dan Carpenter 78cfa6b418 qlcnic: fix a return in qlcnic_dcb_get_capability()
[ Upstream commit c94f026fb742b2d3199422751dbc4f6fc0e753d8 ]

These functions are supposed to return one on failure and zero on
success.  Returning a zero here could cause uninitialized variable
bugs in several of the callers.  For example:

    drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1660 get_iscsi_dcb_priority()
    error: uninitialized symbol 'caps'.

Fixes: 48365e4852 ("qlcnic: dcb: Add support for CEE Netlink interface.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-28 18:25:50 +01:00
..
appletalk net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT 2018-09-29 03:08:52 -07:00
arcnet arcnet: provide a buffer big enough to actually receive packets 2019-10-05 12:27:41 +02:00
bonding bonding: fix unexpected IFF_BONDING bit unset 2019-11-12 19:13:26 +01:00
caif caif-hsi: fix possible deadlock in cfhsi_exit_module() 2019-08-04 09:34:54 +02:00
can slcan: Fix memory leak in error path 2019-11-25 15:54:20 +01:00
cris
dsa net: dsa: mv88e6xxx: Fix u64 statistics 2019-03-23 08:44:23 +01:00
ethernet qlcnic: fix a return in qlcnic_dcb_get_capability() 2019-11-28 18:25:50 +01:00
fddi
fjes
hamradio net: hamradio: use eth_broadcast_addr 2018-08-24 13:26:55 +02:00
hippi
hyperv
ieee802154 ieee802154: atusb: fix use-after-free at disconnect 2019-10-17 13:40:54 -07:00
ipvlan ipvlan: disallow userns cap_net_admin to change global mode/flags 2019-03-23 08:44:31 +01:00
irda irda: fix overly long udelay() 2018-06-06 16:46:21 +02:00
phy net/phy: fix DP83865 10 Mbps HDX loopback disable function 2019-10-05 12:27:41 +02:00
plip
ppp compat_ioctl: pppoe: fix PPPOEIOCSFWD handling 2019-08-11 12:20:46 +02:00
slip slip: Fix memory leak in slip_open error path 2019-11-25 15:53:41 +01:00
team team: Always enable vlan tx offload 2019-07-10 09:56:37 +02:00
usb net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() 2019-11-25 15:54:20 +01:00
vmxnet3
wan drivers: net: lmc: fix case value for target abort error 2018-09-05 09:18:36 +02:00
wimax wimax/i2400m: fix a memory leak bug 2019-09-10 10:29:47 +01:00
wireless brcmsmac: AP mode: update beacon when TIM changes 2019-11-28 18:25:37 +01:00
xen-netback xen/netback: fix error path of xenvif_connect_data() 2019-10-29 09:13:32 +01:00
dummy.c
eql.c
geneve.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c rapidio/rionet: do not free skb before reading its length 2018-12-13 09:21:26 +01:00
sb1000.c
Space.c
sungem_phy.c
tun.c tun: fix use-after-free when register netdev failed 2019-09-21 07:12:41 +02:00
veth.c
virtio_net.c virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS 2018-05-30 07:49:11 +02:00
vrf.c
vxlan.c vxlan: check tun_info options_len properly 2019-11-10 11:21:12 +01:00
xen-netfront.c xen-netfront: do not use ~0U as error return value for xennet_fill_frags() 2019-10-07 21:01:06 +02:00