android_kernel_oneplus_msm8998/drivers/net
Liad Kaufman 8c904a4498 iwlwifi: mvm: inc pending frames counter also when txing non-sta
commit fb896c44f88a75843a072cd6961b1615732f7811 upstream.

Until this patch, when TXing non-sta the pending_frames counter
wasn't increased, but it WAS decreased in
iwl_mvm_rx_tx_cmd_single(), what makes it negative in certain
conditions. This in turn caused much trouble when we need to
remove the station since we won't be waiting forever until
pending_frames gets 0. In certain cases, we were exhausting
the station table even in BSS mode, because we had a lot of
stale stations.

Increase the counter also in iwl_mvm_tx_skb_non_sta() after a
successful TX to avoid this outcome.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-16 08:42:59 -07:00
..
appletalk
arcnet
bonding bonding: Fix ARP monitor validation 2016-03-03 15:07:06 -08:00
caif net: caif: check return value of alloc_netdev 2015-11-09 11:31:13 -05:00
can can: gs_usb: fixed disconnect bug by removing erroneous use of kfree() 2016-03-16 08:42:59 -07:00
cris
dsa net: dsa: fix mv88e6xxx switches 2016-03-03 15:07:04 -08:00
ethernet net/mlx4_en: Avoid changing dev->features directly in run-time 2016-03-03 15:07:07 -08:00
fddi
fjes fjes: fix inconsistent indenting 2015-11-15 17:09:23 -05:00
hamradio mkiss: fix scribble on freed memory 2016-01-06 15:06:27 -05:00
hippi
hyperv
ieee802154
ipvlan ipvlan: fix use after free of skb 2015-11-17 14:39:29 -05:00
irda
phy net: dp83640: Fix tx timestamp overflow handling. 2016-03-03 15:07:04 -08:00
plip
ppp pppoe: fix reference counting in PPPoE proxy 2016-03-03 15:07:07 -08:00
slip
team team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid 2016-01-31 11:29:01 -08:00
usb qmi_wwan: add "4G LTE usb-modem U901" 2016-03-03 15:07:06 -08:00
vmxnet3 Driver: Vmxnet3: Fix regression caused by 5738a09 2016-01-06 16:20:13 -05:00
wan wan/x25: Fix use-after-free in x25_asy_open_tty() 2015-12-01 15:17:42 -05:00
wimax
wireless iwlwifi: mvm: inc pending frames counter also when txing non-sta 2016-03-16 08:42:59 -07:00
xen-netback xen: bug fixes for 4.4-rc5 2015-12-18 12:24:52 -08:00
dummy.c
eql.c
geneve.c geneve: initialize needed_headroom 2015-12-23 22:28:29 -05:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c macvlan: fix leak in macvlan_handle_frame 2015-11-17 14:39:29 -05:00
macvtap.c net: rename SOCK_ASYNC_NOSPACE and SOCK_ASYNC_WAITDATA 2015-12-01 15:45:05 -05:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c net: rename SOCK_ASYNC_NOSPACE and SOCK_ASYNC_WAITDATA 2015-12-01 15:45:05 -05:00
veth.c veth: don’t modify ip_summed; doing so treats packets with bad checksums as good. 2015-12-22 15:15:34 -05:00
virtio_net.c virtio-net: Stop doing DMA from the stack 2015-12-07 16:10:53 +02:00
vrf.c net: Propagate lookup failure in l3mdev_get_saddr to caller 2016-01-04 22:58:30 -05:00
vxlan.c tunnels: Allow IPv6 UDP checksums to be correctly controlled. 2016-03-03 15:07:04 -08:00
xen-netfront.c