linux-stable/drivers/net
Mao Wenan 10a81a17ac net: set static variable an initial value in atl2_probe()
[ Upstream commit 4593403fa5 ]

cards_found is a static variable, but when it enters atl2_probe(),
cards_found is set to zero, the value is not consistent with last probe,
so next behavior is not our expect.

Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-23 13:19:44 +01:00
..
appletalk net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT 2018-09-29 03:07:32 -07:00
arcnet
bonding bonding: update nest level on unlink 2019-01-23 08:10:54 +01:00
caif
can can: dev: __can_get_echo_skb(): fix bogous check for non-existing skb by removing it 2019-01-31 08:12:36 +01:00
cris
dsa net: dsa: mv88e6xxx: Fix u64 statistics 2019-03-13 14:04:53 -07:00
ethernet net: set static variable an initial value in atl2_probe() 2019-03-23 13:19:44 +01:00
fddi
fjes
hamradio net: hamradio: use eth_broadcast_addr 2018-08-24 13:12:30 +02:00
hippi hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close 2018-02-25 11:05:50 +01:00
hyperv hv_netvsc: Fix IP header checksum for coalesced packets 2019-03-13 14:04:53 -07:00
ieee802154 ieee802154: fakelb: switch from BUG_ON() to WARN_ON() on problem 2018-08-24 13:12:37 +02:00
ipvlan ipvlan: disallow userns cap_net_admin to change global mode/flags 2019-03-19 13:14:10 +01:00
irda irda: vlsi_ir: fix check for DMA mapping errors 2017-12-25 14:23:41 +01:00
phy mdio_bus: Fix use-after-free on device_register fails 2019-03-19 13:14:09 +01:00
plip
ppp pptp: dst_release sk_dst_cache in pptp_sock_destruct 2019-03-19 13:14:08 +01:00
slip slip: Check if rstate is initialized before uncompressing 2018-04-20 08:21:07 +02:00
team team: Free BPF filter when unregistering netdev 2019-03-13 14:04:52 -07:00
usb qmi_wwan: apply SET_DTR quirk to Sierra WP7607 2019-03-23 13:19:43 +01:00
vmxnet3 vmxnet3: use DMA memory barriers where required 2018-05-25 16:12:56 +02:00
wan net/wan: fix a double free in x25_asy_open_tty() 2019-01-09 16:16:40 +01:00
wimax
wireless mac80211_hwsim: propagate genlmsg_reply return code 2019-03-23 13:19:44 +01:00
xen-netback xen-netback: fix occasional leak of grant ref mappings under memory pressure 2019-03-13 14:04:53 -07:00
Kconfig vmxnet3: prevent building with 64K pages 2018-02-25 11:05:51 +01:00
LICENSE.SRC
Makefile
Space.c
dummy.c
eql.c
geneve.c geneve: add missing rx stats accounting 2018-04-13 19:48:26 +02:00
gtp.c
ifb.c
loopback.c
macsec.c macsec: fix memory leaks when skb_to_sgvec fails 2018-11-10 07:42:54 -08:00
macvlan.c macvlan: fix use-after-free in macvlan_common_newlink() 2018-05-30 07:50:30 +02:00
macvtap.c
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-05 19:42:38 +01:00
sb1000.c
sungem_phy.c
tun.c tun: remove unnecessary memory barrier 2019-03-13 14:04:54 -07:00
veth.c veth: set peer GSO values 2018-03-22 09:17:57 +01:00
virtio_net.c virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS 2018-05-30 07:50:44 +02:00
vrf.c vrf: Fix use after free and double free in vrf_finish_output 2018-04-13 19:48:37 +02:00
vxlan.c vxlan: Fix GRO cells race condition between receive and link delete 2019-03-19 13:14:10 +01:00
xen-netfront.c xen/netfront: tolerate frags with no data 2019-01-09 16:16:41 +01:00