Re: [PATCH AUTOSEL 5.4 008/130] staging: wimax: depends on NET

2020-12-22 Thread Greg Kroah-Hartman
On Tue, Dec 22, 2020 at 09:16:11PM -0500, Sasha Levin wrote: > From: Randy Dunlap > > [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] > > Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): > > ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_alloc': > op-msg

[RFC ipsec-next] xfrm: interface: enable TSO on xfrm interfaces

2020-12-22 Thread Eyal Birger
Underlying xfrm output supports gso packets. Declare support in hw_features and adapt the xmit MTU check to pass GSO packets. Signed-off-by: Eyal Birger --- net/xfrm/xfrm_interface.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net/xfrm/xfrm_interface.c b/net/xfr

Re: [RFC v2 00/13] Introduce VDUSE - vDPA Device in Userspace

2020-12-22 Thread Jason Wang
On 2020/12/22 下午10:52, Xie Yongji wrote: This series introduces a framework, which can be used to implement vDPA Devices in a userspace program. The work consist of two parts: control path forwarding and data path offloading. In the control path, the VDUSE driver will make use of message mechn

Re: [RFC v2 01/13] mm: export zap_page_range() for driver use

2020-12-22 Thread Yongji Xie
On Tue, Dec 22, 2020 at 11:44 PM Christoph Hellwig wrote: > > On Tue, Dec 22, 2020 at 10:52:09PM +0800, Xie Yongji wrote: > > Export zap_page_range() for use in VDUSE. > > Err, no. This has absolutely no business being used by drivers. Now I want to map/unmap some pages in an userland vma dynami

[PATCH v2] net/ncsi: Use real net-device for response handler

2020-12-22 Thread John Wang
When aggregating ncsi interfaces and dedicated interfaces to bond interfaces, the ncsi response handler will use the wrong net device to find ncsi_dev, so that the ncsi interface will not work properly. Here, we use the original net device to fix it. Fixes: 138635cc27c9 ("net/ncsi: NCSI response p

Re: [External] Re: [PATCH] net/ncsi: Use real net-device for response handler

2020-12-22 Thread John Wang
On Wed, Dec 23, 2020 at 10:25 AM Jakub Kicinski wrote: > > On Tue, 22 Dec 2020 10:38:21 -0800 Samuel Mendoza-Jonas wrote: > > On Tue, 2020-12-22 at 06:13 +, Joel Stanley wrote: > > > On Sun, 20 Dec 2020 at 12:40, John Wang wrote: > > > > When aggregating ncsi interfaces and dedicated interface

Re: [PATCH v3 09/24] wfx: add hwio.c/hwio.h

2020-12-22 Thread Kalle Valo
Jérôme Pouiller writes: > On Tuesday 22 December 2020 16:27:01 CET Greg Kroah-Hartman wrote: >> >> On Tue, Dec 22, 2020 at 05:10:11PM +0200, Kalle Valo wrote: >> > Jerome Pouiller writes: >> > >> > > +/* >> > > + * Internal helpers. >> > > + * >> > > + * About CONFIG_VMAP_STACK: >> > > + * When

Re: [PATCH v3 03/24] wfx: add Makefile/Kconfig

2020-12-22 Thread Kalle Valo
Jérôme Pouiller writes: > On Tuesday 22 December 2020 16:02:38 CET Kalle Valo wrote: >> Jerome Pouiller writes: >> >> > From: Jérôme Pouiller >> > >> > Signed-off-by: Jérôme Pouiller >> >> [...] >> >> > +wfx-$(CONFIG_SPI) += bus_spi.o >> > +wfx-$(subst m,y,$(CONFIG_MMC)) += bus_sdio.o >> >

[PATCH] rdma.8: Add basic description for users unfamiliar with rdma

2020-12-22 Thread Alan Perry
Add a description section with basic info about the rdma command for users unfamiliar with it. Signed-off-by: Alan Perry --- man/man8/rdma.8 | 6 +- 1 file changed, 5 insertion(+), 1 deletion(-) diff --git a/man/man8/rdma.8 b/man/man8/rdma.8 index c9e5d50d..d68d0cf6 100644 --- a/man/man8/

Re: [PATCH net 1/1] qede: fix offload for IPIP tunnel packets

2020-12-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 21 Dec 2020 06:55:30 -0800 you wrote: > IPIP tunnels packets are unknown to device, > hence these packets are incorrectly parsed and > caused the packet corruption, so disable offlods > for such packets at run time. > >

Re: pull-request: wireless-drivers-2020-12-22

2020-12-22 Thread patchwork-bot+netdevbpf
Hello: This pull request was applied to netdev/net.git (refs/heads/master): On Tue, 22 Dec 2020 16:37:27 + (UTC) you wrote: > Hi, > > here's a pull request to net tree, more info below. Please let me know if > there > are any problems. > > Kalle > > [...] Here is the summary with links:

[PATCH Repost to netdev] virtio_net: Fix recursive call to cpus_read_lock()

2020-12-22 Thread Jeff Dike
virtnet_set_channels can recursively call cpus_read_lock if CONFIG_XPS and CONFIG_HOTPLUG are enabled. The path is: virtnet_set_channels - calls get_online_cpus(), which is a trivial wrapper around cpus_read_lock() netif_set_real_num_tx_queues netif_reset_xps_queues_gt netif_reset_

Re: [PATCH] net: ethernet: mvneta: Fix error handling in mvneta_probe

2020-12-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sun, 20 Dec 2020 16:29:30 +0800 you wrote: > When mvneta_port_power_up() fails, we should execute > cleanup functions after label err_netdev to avoid memleak. > > Fixes: 41c2b6b4f0f80 ("net: ethernet: mvneta: Add back interf

[PATCH AUTOSEL 5.10 026/217] net: ethernet: ti: am65-cpsw: fix tx csum offload for multi mac mode

2020-12-22 Thread Sasha Levin
From: Grygorii Strashko [ Upstream commit 97067aaf127487788a297267dede0008cd75bb7b ] The current implementation uses .ndo_set_features() callback to track NETIF_F_HW_CSUM feature changes and update generic CPSW_P0_CONTROL_REG.RX_CHECKSUM_EN option accordingly. It's not going to work in case of m

[PATCH AUTOSEL 5.10 014/217] bpf: Use separate lockdep class for each hashtab

2020-12-22 Thread Sasha Levin
From: Song Liu [ Upstream commit c50eb518e262fa06bd334e6eec172eaf5d7a5bd9 ] If a hashtab is accessed in both NMI and non-NMI contexts, it may cause deadlock in bucket->lock. LOCKDEP NMI warning highlighted this issue: ./test_progs -t stacktrace [ 74.828970] [ 74.828971] ===

[PATCH AUTOSEL 5.10 016/217] staging: wimax: depends on NET

2020-12-22 Thread Sasha Levin
From: Randy Dunlap [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_alloc': op-msg.c:(.text+0xa9): undefined reference to `__alloc_skb' ld: op-msg.c:(.text+0xc

[PATCH AUTOSEL 5.10 037/217] mac80211: don't overwrite QoS TID of injected frames

2020-12-22 Thread Sasha Levin
From: Mathy Vanhoef [ Upstream commit 527d675969a1dff17baa270d4447ac1c87058299 ] Currently ieee80211_set_qos_hdr sets the QoS TID of all frames based on the value assigned to skb->priority. This means it will also overwrite the QoS TID of injected frames. The commit 753ffad3d624 ("mac80211: fix

[PATCH AUTOSEL 5.10 027/217] net: mscc: ocelot: don't reset the pvid to 0 when deleting it

2020-12-22 Thread Sasha Levin
From: Vladimir Oltean [ Upstream commit 110e847ca7d5e712cabc8cb866a66b629832f4a2 ] I have no idea why this code is here, but I have 2 hypotheses: 1. A desperate attempt to keep untagged traffic working when the bridge deletes the pvid on a port. There was a fairly okay discussion here: https:/

[PATCH AUTOSEL 5.10 049/217] ath10k: fix compilation warning

2020-12-22 Thread Sasha Levin
From: Tamizh Chelvam [ Upstream commit b9162645117841978a3fb31546409271e007dd28 ] This change fixes below compilation warning. smatch warnings: drivers/net/wireless/ath/ath10k/mac.c:9125 ath10k_mac_op_set_tid_config() error: uninitialized symbol 'ret'. No functional changes. Compile tested o

[PATCH AUTOSEL 5.10 059/217] Bluetooth: Resume advertising after LE connection

2020-12-22 Thread Sasha Levin
From: Daniel Winkler [ Upstream commit 2943d8ede38310db932eb38f91aa1094b471058c ] When an LE connection request is made, advertising is disabled and never resumed. When a client has an active advertisement, this is disruptive. This change adds resume logic for client-configured (non-directed) ad

[PATCH AUTOSEL 5.10 060/217] Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

2020-12-22 Thread Sasha Levin
From: Claire Chang [ Upstream commit 82493316507a720b6faa2ec23971c0ca89c6dcb0 ] Avoid multiple attempts to create the debugfs entry, force_bredr_smp, by moving it from the SMP registration to the BR/EDR controller init section. hci_debugfs_create_bredr is only called when HCI_SETUP and HCI_CONFI

[PATCH AUTOSEL 5.10 061/217] Bluetooth: hidp: use correct wait queue when removing ctrl_wait

2020-12-22 Thread Sasha Levin
From: Ole Bjørn Midtbø [ Upstream commit cca342d98bef68151a80b024f7bf5f388d1fbdea ] A different wait queue was used when removing ctrl_wait than when adding it. This effectively made the remove operation without locking compared to other operations on the wait queue ctrl_wait was part of. This c

[PATCH AUTOSEL 5.10 063/217] net: skb_vlan_untag(): don't reset transport offset if set by GRO layer

2020-12-22 Thread Sasha Levin
From: Alexander Lobakin [ Upstream commit 8be33ecfc1ffd2da20cc29e957e4cb6eb99310cb ] Similar to commit fda55eca5a33f ("net: introduce skb_transport_header_was_set()"), avoid resetting transport offsets that were already set by GRO layer. This not only mirrors the behavior of __netif_receive_skb_

[PATCH AUTOSEL 5.10 077/217] r8169: use READ_ONCE in rtl_tx_slots_avail

2020-12-22 Thread Sasha Levin
From: Heiner Kallweit [ Upstream commit 95f3c5458dfa5856bb110e31d156e00d894d0134 ] tp->dirty_tx and tp->cur_tx may be changed by a racing rtl_tx() or rtl8169_start_xmit(). Use READ_ONCE() to annotate the races and ensure that the compiler doesn't use cached values. Signed-off-by: Heiner Kallwei

[PATCH AUTOSEL 5.4 008/130] staging: wimax: depends on NET

2020-12-22 Thread Sasha Levin
From: Randy Dunlap [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_alloc': op-msg.c:(.text+0xa9): undefined reference to `__alloc_skb' ld: op-msg.c:(.text+0xc

[PATCH AUTOSEL 5.4 015/130] mac80211: don't overwrite QoS TID of injected frames

2020-12-22 Thread Sasha Levin
From: Mathy Vanhoef [ Upstream commit 527d675969a1dff17baa270d4447ac1c87058299 ] Currently ieee80211_set_qos_hdr sets the QoS TID of all frames based on the value assigned to skb->priority. This means it will also overwrite the QoS TID of injected frames. The commit 753ffad3d624 ("mac80211: fix

[PATCH AUTOSEL 5.4 027/130] Bluetooth: hidp: use correct wait queue when removing ctrl_wait

2020-12-22 Thread Sasha Levin
From: Ole Bjørn Midtbø [ Upstream commit cca342d98bef68151a80b024f7bf5f388d1fbdea ] A different wait queue was used when removing ctrl_wait than when adding it. This effectively made the remove operation without locking compared to other operations on the wait queue ctrl_wait was part of. This c

[PATCH AUTOSEL 5.4 023/130] rsi: Fix TX EAPOL packet handling against iwlwifi AP

2020-12-22 Thread Sasha Levin
From: Marek Vasut [ Upstream commit 65277100caa2f2c62b6f3c4648b90d6f0435f3bc ] In case RSI9116 SDIO WiFi operates in STA mode against Intel 9260 in AP mode, the association fails. The former is using wpa_supplicant during association, the later is set up using hostapd: iwl$ cat hostapd.conf int

[PATCH AUTOSEL 5.4 029/130] net: skb_vlan_untag(): don't reset transport offset if set by GRO layer

2020-12-22 Thread Sasha Levin
From: Alexander Lobakin [ Upstream commit 8be33ecfc1ffd2da20cc29e957e4cb6eb99310cb ] Similar to commit fda55eca5a33f ("net: introduce skb_transport_header_was_set()"), avoid resetting transport offsets that were already set by GRO layer. This not only mirrors the behavior of __netif_receive_skb_

[PATCH AUTOSEL 5.4 031/130] mwifiex: pcie: skip cancel_work_sync() on reset failure path

2020-12-22 Thread Sasha Levin
From: Tsuchiya Yuto [ Upstream commit 4add4d988f95f47493500a7a19c623827061589b ] If a reset is performed, but even the reset fails for some reasons (e.g., on Surface devices, the fw reset requires another quirks), cancel_work_sync() hangs in mwifiex_cleanup_pcie(). # firmware went into a ba

[PATCH AUTOSEL 5.4 034/130] net: ipconfig: Avoid spurious blank lines in boot log

2020-12-22 Thread Sasha Levin
From: Thierry Reding [ Upstream commit c9f64d1fc101c64ea2be1b2e562b4395127befc9 ] When dumping the name and NTP servers advertised by DHCP, a blank line is emitted if either of the lists is empty. This can lead to confusing issues such as the blank line getting flagged as warning. This happens b

Re: cdc_ncm kernel log spam with trendnet 2.5G USB adapter

2020-12-22 Thread Roland Dreier
On Tue, Dec 22, 2020 at 6:49 PM Jakub Kicinski wrote: > I'm not sure what the story here is but if this change is expected to > get into the networking tree we'll need a fresh posting. This sort of > scissored reply does not get into patchwork. OK, will resend. Too bad about patchwork, "git am"

[PATCH AUTOSEL 5.4 060/130] rtw88: coex: change the decode method from firmware

2020-12-22 Thread Sasha Levin
From: Ching-Te Ku [ Upstream commit 362c4a5cc886e9c369bf2106ab648c2ad076abb6 ] Fix sometimes FW information will be parsed as wrong value, do a correction of sign bit to show the correct information. (Ex, Value should be 20, but it shows 236.) Signed-off-by: Ching-Te Ku Signed-off-by: Ping-Ke

[PATCH AUTOSEL 5.4 058/130] rxrpc: Don't leak the service-side session key to userspace

2020-12-22 Thread Sasha Levin
From: David Howells [ Upstream commit d2ae4e918218f543214fbd906db68a6c580efbbb ] Don't let someone reading a service-side rxrpc-type key get access to the session key that was exchanged with the client. The server application will, at some point, need to be able to read the information in the t

[PATCH AUTOSEL 5.4 067/130] brcmsmac: ampdu: Check BA window size before checking block ack

2020-12-22 Thread Sasha Levin
From: Dmitry Safonov [ Upstream commit 01c195de620bb6c3ecda0dbf295fe685d8232e10 ] bindex can be out of BA window (64): tid 0 seq 2983, start_seq 2915, bindex 68, index 39 tid 0 seq 2984, start_seq 2915, bindex 69, index 40 tid 0 seq 2985, start_seq 2915, bindex 70, index 41 tid 0 seq 298

[PATCH AUTOSEL 5.4 069/130] hv_netvsc: Validate number of allocated sub-channels

2020-12-22 Thread Sasha Levin
From: "Andrea Parri (Microsoft)" [ Upstream commit 206ad34d52a2f1205c84d08c12fc116aad0eb407 ] Lack of validation could lead to out-of-bound reads and information leaks (cf. usage of nvdev->chan_table[]). Check that the number of allocated sub-channels fits into the expected range. Suggested-by

[PATCH AUTOSEL 5.4 068/130] i40e: report correct VF link speed when link state is set to enable

2020-12-22 Thread Sasha Levin
From: Stefan Assmann [ Upstream commit 6ec12e1e9404acb27a7434220bbe5f75e7bb2859 ] When the virtual link state was set to "enable" ethtool would report link speed as 4Mb/s regardless of the underlying device. Report the correct link speed. Example from a XXV710 NIC. Before: $ ip link set ens

[PATCH AUTOSEL 5.4 075/130] net/lapb: fix t1 timer handling for LAPB_STATE_0

2020-12-22 Thread Sasha Levin
From: Martin Schiller [ Upstream commit 62480b992ba3fb1d7260b11293aed9d6557831c7 ] 1. DTE interface changes immediately to LAPB_STATE_1 and start sending SABM(E). 2. DCE interface sends N2-times DM and changes to LAPB_STATE_1 afterwards if there is no response in the meantime. Signed-off

[PATCH AUTOSEL 5.4 094/130] mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start

2020-12-22 Thread Sasha Levin
From: Zhang Xiaohui [ Upstream commit 5c455c5ab332773464d02ba17015acdca198f03d ] mwifiex_cmd_802_11_ad_hoc_start() calls memcpy() without checking the destination size may trigger a buffer overflower, which a local user could use to cause denial of service or the execution of arbitrary code. Fix

[PATCH AUTOSEL 5.4 036/130] r8169: use READ_ONCE in rtl_tx_slots_avail

2020-12-22 Thread Sasha Levin
From: Heiner Kallweit [ Upstream commit 95f3c5458dfa5856bb110e31d156e00d894d0134 ] tp->dirty_tx and tp->cur_tx may be changed by a racing rtl_tx() or rtl8169_start_xmit(). Use READ_ONCE() to annotate the races and ensure that the compiler doesn't use cached values. Signed-off-by: Heiner Kallwei

[PATCH AUTOSEL 5.4 081/130] bridge: switchdev: Notify about VLAN protocol changes

2020-12-22 Thread Sasha Levin
From: Danielle Ratson [ Upstream commit 22ec19f3aee327806c37c9fa1188741574bc6445 ] Drivers that support bridge offload need to be notified about changes to the bridge's VLAN protocol so that they could react accordingly and potentially veto the change. Add a new switchdev attribute to communica

[PATCH AUTOSEL 5.4 052/130] net: dsa: avoid potential use-after-free error

2020-12-22 Thread Sasha Levin
From: Christian Eggers [ Upstream commit 30abc9cd9c6bdd44d23fc49a9c2526a86fba4305 ] If dsa_switch_ops::port_txtstamp() returns false, clone will be freed immediately. Shouldn't store a pointer to freed memory. Signed-off-by: Christian Eggers Reviewed-by: Vladimir Oltean Tested-by: Vladimir Ol

[PATCH AUTOSEL 5.10 067/217] mwifiex: pcie: skip cancel_work_sync() on reset failure path

2020-12-22 Thread Sasha Levin
From: Tsuchiya Yuto [ Upstream commit 4add4d988f95f47493500a7a19c623827061589b ] If a reset is performed, but even the reset fails for some reasons (e.g., on Surface devices, the fw reset requires another quirks), cancel_work_sync() hangs in mwifiex_cleanup_pcie(). # firmware went into a ba

[PATCH AUTOSEL 5.10 073/217] net: ipconfig: Avoid spurious blank lines in boot log

2020-12-22 Thread Sasha Levin
From: Thierry Reding [ Upstream commit c9f64d1fc101c64ea2be1b2e562b4395127befc9 ] When dumping the name and NTP servers advertised by DHCP, a blank line is emitted if either of the lists is empty. This can lead to confusing issues such as the blank line getting flagged as warning. This happens b

[PATCH AUTOSEL 5.4 106/130] iwlwifi: avoid endless HW errors at assert time

2020-12-22 Thread Sasha Levin
From: Mordechay Goodstein [ Upstream commit 861bae42e1f125a5a255ace3ccd731e59f58ddec ] Curretly we only mark HW error state "after" trying to collect HW data, but if any HW error happens while colleting HW data we go into endless loop. avoid this by setting HW error state "before" collecting HW

[PATCH AUTOSEL 5.4 111/130] iwlwifi: mvm: validate firmware sync response size

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit b570e5b0592a56c5990ae3aa0fdb93dd9b545d43 ] We send some data to the firmware and expect to get it back, but we shouldn't really trust the firmware on this. Check the size of all the data we send down to avoid using bad or just uninitialized data when the fir

[PATCH AUTOSEL 5.4 110/130] iwlwifi: trans: consider firmware dead after errors

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 152fdc0f698896708f9d7889a4ba4da6944b74f7 ] If we get an error, no longer consider the firmware to be in IWL_TRANS_FW_ALIVE state. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20201209231352.a9d01e79c1c7.

[PATCH AUTOSEL 5.4 112/130] iwlwifi: add an extra firmware state in the transport

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit b2ed841ed070ccbe908016537f429a3a8f0221bf ] Start tracking not just if the firmware is dead or alive, but also if it's starting. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20201209231352.33e50d40b688.I8

[PATCH AUTOSEL 5.4 113/130] iwlwifi: mvm: disconnect if channel switch delay is too long

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 87d9564e14cf5d05e4f1fa4eb7c55d798427f1dd ] If the channel switch delay that we would incur after the channel switch actually happens is longer than the quiet time we're willing to tolerate, disconnect as well. Signed-off-by: Johannes Berg Signed-off-by: Lu

[PATCH AUTOSEL 5.4 116/130] cfg80211: Update TSF and TSF BSSID for multi BSS

2020-12-22 Thread Sasha Levin
From: Ilan Peer [ Upstream commit b45a19dd7e46462d0f34fcc05e5b1871d4c415ec ] When a new BSS entry is created based on multi BSS IE, the TSF and the TSF BSSID were not updated. Fix it. Signed-off-by: Ilan Peer Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20201129172929.8

Re: [PATCH net v2 2/2] vhost_net: fix high cpu load when sendmsg fails

2020-12-22 Thread Jason Wang
On 2020/12/22 下午10:24, Willem de Bruijn wrote: On Mon, Dec 21, 2020 at 11:41 PM Jason Wang wrote: On 2020/12/22 上午7:07, Willem de Bruijn wrote: On Wed, Dec 16, 2020 at 3:20 AM wangyunjian wrote: From: Yunjian Wang Currently we break the loop and wake up the vhost_worker when sendmsg fail

[PATCH AUTOSEL 5.4 097/130] rtlwifi: rtl8192de: fix ofdm power compensation

2020-12-22 Thread Sasha Levin
From: Ping-Ke Shih [ Upstream commit 3f79e541593fecc2a90687eb7162e15a499caa33 ] ofdm_index[] is used to indicate how many power compensation is needed to current thermal value. For internal PA module or 2.4G band, the min_index is different from other cases. This issue originally is reported by

[PATCH AUTOSEL 5.4 119/130] mac80211: disallow band-switch during CSA

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 3660944a37ce73890292571f44f04891834f9044 ] If the AP advertises a band switch during CSA, we will not have the right information to continue working with it, since it will likely (have to) change its capabilities and we don't track any capability changes at

[PATCH AUTOSEL 5.4 117/130] nl80211: always accept scan request with the duration set

2020-12-22 Thread Sasha Levin
From: Avraham Stern [ Upstream commit c837cbad40d949feaff86734d637c7602ae0b56b ] Accept a scan request with the duration set even if the driver does not support setting the scan dwell. The duration can be used as a hint to the driver, but the driver may use its internal logic for setting the sca

[PATCH AUTOSEL 5.4 120/130] mac80211: support Rx timestamp calculation for all preamble types

2020-12-22 Thread Sasha Levin
From: Avraham Stern [ Upstream commit da3882331a55ba8c8eda0cfc077ad3b88c257e22 ] Add support for calculating the Rx timestamp for HE frames. Since now all frame types are supported, allow setting the Rx timestamp regardless of the frame type. Signed-off-by: Avraham Stern Signed-off-by: Luca Co

[PATCH AUTOSEL 5.4 121/130] mac80211: use bitfield helpers for BA session action frames

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit db8ebd06ccb87b7bea8e50f3d4ba5dc0142093b8 ] Use the appropriate bitfield helpers for encoding and decoding the capability field in the BA session action frames instead of open-coding the shifts/masks. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho

[PATCH AUTOSEL 5.4 123/130] mac80211: Fix calculation of minimal channel width

2020-12-22 Thread Sasha Levin
From: Ilan Peer [ Upstream commit bbf31e88df2f5da20ce613c340ce508d732046b3 ] When calculating the minimal channel width for channel context, the current operation Rx channel width of a station was used and not the overall channel width capability of the station, i.e., both for Tx and Rx. Fix ie

[PATCH AUTOSEL 5.4 108/130] iwlwifi: pcie: validate RX descriptor length

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit df72138de4bc4e85e427aabc60fc51be6cc57fc7 ] Validate the maximum RX descriptor length against the size of the buffers we gave the device - if it doesn't fit then the hardware messed up. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Link: https:/

[PATCH AUTOSEL 5.4 125/130] mac80211: Update rate control on channel change

2020-12-22 Thread Sasha Levin
From: Ilan Peer [ Upstream commit 44b72ca8163b8cf94384a11fdec716f5478411bf ] A channel change or a channel bandwidth change can impact the rate control logic. However, the rate control logic was not updated before/after such a change, which might result in unexpected behavior. Fix this by updat

[PATCH AUTOSEL 5.4 109/130] iwlwifi: mvm: fix 22000 series driver NMI

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 9e8338ad17eb8976edd5d2def516e4b3346a4470 ] For triggering an NMI in the firmware, we should only set BIT(24) in the corresponding register, not the entire mask that's usable by the driver. This currently doesn't matter because the firmware only enables BIT(

[PATCH AUTOSEL 4.19 04/87] staging: wimax: depends on NET

2020-12-22 Thread Sasha Levin
From: Randy Dunlap [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_alloc': op-msg.c:(.text+0xa9): undefined reference to `__alloc_skb' ld: op-msg.c:(.text+0xc

Re: [PATCH net] ibmvnic: fix login buffer memory leak

2020-12-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 19 Dec 2020 15:39:19 -0600 you wrote: > Commit 34f0f4e3f488 ("ibmvnic: Fix login buffer memory leaks") frees > login_rsp_buffer in release_resources() and send_login() > because handle_login_rsp() does not free it. > Com

Re: [PATCH net] MAINTAINERS: remove names from mailing list maintainers

2020-12-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 19 Dec 2020 10:55:38 -0800 you wrote: > When searching for inactive maintainers it's useful to filter > out mailing list addresses. Such "maintainers" will obviously > never feature in a "From:" line of an email or a rev

Re: [PATCH] net: stmmac: dwmac-meson8b: ignore the second clock input

2020-12-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 19 Dec 2020 14:50:36 +0100 you wrote: > The dwmac glue registers on Amlogic Meson8b and newer SoCs has two clock > inputs: > - Meson8b and Meson8m2: MPLL2 and MPLL2 (the same parent is wired to > both inputs) > - GXBB,

[PATCH AUTOSEL 4.19 22/87] mwifiex: pcie: skip cancel_work_sync() on reset failure path

2020-12-22 Thread Sasha Levin
From: Tsuchiya Yuto [ Upstream commit 4add4d988f95f47493500a7a19c623827061589b ] If a reset is performed, but even the reset fails for some reasons (e.g., on Surface devices, the fw reset requires another quirks), cancel_work_sync() hangs in mwifiex_cleanup_pcie(). # firmware went into a ba

Re: cdc_ncm kernel log spam with trendnet 2.5G USB adapter

2020-12-22 Thread Jakub Kicinski
On Sat, 19 Dec 2020 14:21:40 -0800 Roland Dreier wrote: > (Apologies, trying one more time with a better mailer) > > Sorry it took so long, but I finally got a chance to test the patches. They > seem to work well, but they only get rid of the downlink / uplink speed spam - > I still get the follo

[PATCH AUTOSEL 4.19 15/87] rsi: Fix TX EAPOL packet handling against iwlwifi AP

2020-12-22 Thread Sasha Levin
From: Marek Vasut [ Upstream commit 65277100caa2f2c62b6f3c4648b90d6f0435f3bc ] In case RSI9116 SDIO WiFi operates in STA mode against Intel 9260 in AP mode, the association fails. The former is using wpa_supplicant during association, the later is set up using hostapd: iwl$ cat hostapd.conf int

RE: [PATCH AUTOSEL 4.14 40/66] hv_netvsc: Validate number of allocated sub-channels

2020-12-22 Thread Michael Kelley
From: Sasha Levin Sent: Tuesday, December 22, 2020 6:22 PM > > From: "Andrea Parri (Microsoft)" > > [ Upstream commit 206ad34d52a2f1205c84d08c12fc116aad0eb407 ] > > Lack of validation could lead to out-of-bound reads and information > leaks (cf. usage of nvdev->chan_table[]). Check that the n

[PATCH AUTOSEL 4.19 20/87] net: skb_vlan_untag(): don't reset transport offset if set by GRO layer

2020-12-22 Thread Sasha Levin
From: Alexander Lobakin [ Upstream commit 8be33ecfc1ffd2da20cc29e957e4cb6eb99310cb ] Similar to commit fda55eca5a33f ("net: introduce skb_transport_header_was_set()"), avoid resetting transport offsets that were already set by GRO layer. This not only mirrors the behavior of __netif_receive_skb_

[PATCH AUTOSEL 4.19 46/87] brcmsmac: ampdu: Check BA window size before checking block ack

2020-12-22 Thread Sasha Levin
From: Dmitry Safonov [ Upstream commit 01c195de620bb6c3ecda0dbf295fe685d8232e10 ] bindex can be out of BA window (64): tid 0 seq 2983, start_seq 2915, bindex 68, index 39 tid 0 seq 2984, start_seq 2915, bindex 69, index 40 tid 0 seq 2985, start_seq 2915, bindex 70, index 41 tid 0 seq 298

RE: [PATCH net v2 2/2] vhost_net: fix high cpu load when sendmsg fails

2020-12-22 Thread wangyunjian
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Tuesday, December 22, 2020 12:41 PM > To: Willem de Bruijn ; wangyunjian > > Cc: Network Development ; Michael S. Tsirkin > ; virtualizat...@lists.linux-foundation.org; Lilijun (Jerry) > ; chenchanghu ; > xuding

Re: [PATCH net] ibmvnic: continue fatal error reset after passive init

2020-12-22 Thread Jakub Kicinski
On Sat, 19 Dec 2020 15:40:34 -0600 Lijun Pan wrote: > Commit f9c6cea0b385 ("ibmvnic: Skip fatal error reset after passive init") > says "If the passive > CRQ initialization occurs before the FATAL reset task is processed, > the FATAL error reset task would try to access a CRQ message queue > that w

[PATCH AUTOSEL 4.19 48/87] hv_netvsc: Validate number of allocated sub-channels

2020-12-22 Thread Sasha Levin
From: "Andrea Parri (Microsoft)" [ Upstream commit 206ad34d52a2f1205c84d08c12fc116aad0eb407 ] Lack of validation could lead to out-of-bound reads and information leaks (cf. usage of nvdev->chan_table[]). Check that the number of allocated sub-channels fits into the expected range. Suggested-by

[PATCH AUTOSEL 4.19 54/87] net/lapb: fix t1 timer handling for LAPB_STATE_0

2020-12-22 Thread Sasha Levin
From: Martin Schiller [ Upstream commit 62480b992ba3fb1d7260b11293aed9d6557831c7 ] 1. DTE interface changes immediately to LAPB_STATE_1 and start sending SABM(E). 2. DCE interface sends N2-times DM and changes to LAPB_STATE_1 afterwards if there is no response in the meantime. Signed-off

[PATCH AUTOSEL 4.19 47/87] i40e: report correct VF link speed when link state is set to enable

2020-12-22 Thread Sasha Levin
From: Stefan Assmann [ Upstream commit 6ec12e1e9404acb27a7434220bbe5f75e7bb2859 ] When the virtual link state was set to "enable" ethtool would report link speed as 4Mb/s regardless of the underlying device. Report the correct link speed. Example from a XXV710 NIC. Before: $ ip link set ens

[PATCH AUTOSEL 4.19 38/87] rxrpc: Don't leak the service-side session key to userspace

2020-12-22 Thread Sasha Levin
From: David Howells [ Upstream commit d2ae4e918218f543214fbd906db68a6c580efbbb ] Don't let someone reading a service-side rxrpc-type key get access to the session key that was exchanged with the client. The server application will, at some point, need to be able to read the information in the t

[PATCH AUTOSEL 4.19 19/87] Bluetooth: hidp: use correct wait queue when removing ctrl_wait

2020-12-22 Thread Sasha Levin
From: Ole Bjørn Midtbø [ Upstream commit cca342d98bef68151a80b024f7bf5f388d1fbdea ] A different wait queue was used when removing ctrl_wait than when adding it. This effectively made the remove operation without locking compared to other operations on the wait queue ctrl_wait was part of. This c

[PATCH AUTOSEL 4.19 24/87] net: ipconfig: Avoid spurious blank lines in boot log

2020-12-22 Thread Sasha Levin
From: Thierry Reding [ Upstream commit c9f64d1fc101c64ea2be1b2e562b4395127befc9 ] When dumping the name and NTP servers advertised by DHCP, a blank line is emitted if either of the lists is empty. This can lead to confusing issues such as the blank line getting flagged as warning. This happens b

[PATCH AUTOSEL 5.4 122/130] mac80211: ignore country element TX power on 6 GHz

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 2dedfe1dbdf27ac344584ed03c3876c85d2779fb ] Updates to the 802.11ax draft are coming that deprecate the country element in favour of the transmit power envelope element, and make the maximum transmit power level field in the triplets reserved, so if we parse

[PATCH AUTOSEL 5.4 124/130] mac80211: don't filter out beacons once we start CSA

2020-12-22 Thread Sasha Levin
From: Emmanuel Grumbach [ Upstream commit 189a164d0fc6c59a22c4486d641d0a0a0d33387a ] I hit a bug in which we started a CSA with an action frame, but the AP changed its mind and didn't change the beacon. The CSA wasn't cancelled and we lost the connection. The beacons were ignored because they n

[PATCH AUTOSEL 4.19 66/87] mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start

2020-12-22 Thread Sasha Levin
From: Zhang Xiaohui [ Upstream commit 5c455c5ab332773464d02ba17015acdca198f03d ] mwifiex_cmd_802_11_ad_hoc_start() calls memcpy() without checking the destination size may trigger a buffer overflower, which a local user could use to cause denial of service or the execution of arbitrary code. Fix

[PATCH AUTOSEL 4.19 72/87] iwlwifi: pcie: validate RX descriptor length

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit df72138de4bc4e85e427aabc60fc51be6cc57fc7 ] Validate the maximum RX descriptor length against the size of the buffers we gave the device - if it doesn't fit then the hardware messed up. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Link: https:/

[PATCH AUTOSEL 4.19 81/87] mac80211: use bitfield helpers for BA session action frames

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit db8ebd06ccb87b7bea8e50f3d4ba5dc0142093b8 ] Use the appropriate bitfield helpers for encoding and decoding the capability field in the BA session action frames instead of open-coding the shifts/masks. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho

[PATCH AUTOSEL 4.19 78/87] cfg80211: Save the regulatory domain when setting custom regulatory

2020-12-22 Thread Sasha Levin
From: Ilan Peer [ Upstream commit beee246951571cc5452176f3dbfe9aa5a10ba2b9 ] When custom regulatory was set, only the channels setting was updated, but the regulatory domain was not saved. Fix it by saving it. Signed-off-by: Ilan Peer Signed-off-by: Luca Coelho Link: https://lore.kernel.org/

[PATCH AUTOSEL 4.19 83/87] mac80211: don't filter out beacons once we start CSA

2020-12-22 Thread Sasha Levin
From: Emmanuel Grumbach [ Upstream commit 189a164d0fc6c59a22c4486d641d0a0a0d33387a ] I hit a bug in which we started a CSA with an action frame, but the AP changed its mind and didn't change the beacon. The CSA wasn't cancelled and we lost the connection. The beacons were ignored because they n

[PATCH AUTOSEL 4.19 73/87] iwlwifi: trans: consider firmware dead after errors

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 152fdc0f698896708f9d7889a4ba4da6944b74f7 ] If we get an error, no longer consider the firmware to be in IWL_TRANS_FW_ALIVE state. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20201209231352.a9d01e79c1c7.

[PATCH AUTOSEL 4.19 77/87] nl80211: always accept scan request with the duration set

2020-12-22 Thread Sasha Levin
From: Avraham Stern [ Upstream commit c837cbad40d949feaff86734d637c7602ae0b56b ] Accept a scan request with the duration set even if the driver does not support setting the scan dwell. The duration can be used as a hint to the driver, but the driver may use its internal logic for setting the sca

[PATCH AUTOSEL 4.14 04/66] staging: wimax: depends on NET

2020-12-22 Thread Sasha Levin
From: Randy Dunlap [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_alloc': op-msg.c:(.text+0xa9): undefined reference to `__alloc_skb' ld: op-msg.c:(.text+0xc

[PATCH AUTOSEL 4.14 16/66] Bluetooth: hidp: use correct wait queue when removing ctrl_wait

2020-12-22 Thread Sasha Levin
From: Ole Bjørn Midtbø [ Upstream commit cca342d98bef68151a80b024f7bf5f388d1fbdea ] A different wait queue was used when removing ctrl_wait than when adding it. This effectively made the remove operation without locking compared to other operations on the wait queue ctrl_wait was part of. This c

[PATCH AUTOSEL 4.14 18/66] mwifiex: pcie: skip cancel_work_sync() on reset failure path

2020-12-22 Thread Sasha Levin
From: Tsuchiya Yuto [ Upstream commit 4add4d988f95f47493500a7a19c623827061589b ] If a reset is performed, but even the reset fails for some reasons (e.g., on Surface devices, the fw reset requires another quirks), cancel_work_sync() hangs in mwifiex_cleanup_pcie(). # firmware went into a ba

[PATCH AUTOSEL 4.14 32/66] rxrpc: Don't leak the service-side session key to userspace

2020-12-22 Thread Sasha Levin
From: David Howells [ Upstream commit d2ae4e918218f543214fbd906db68a6c580efbbb ] Don't let someone reading a service-side rxrpc-type key get access to the session key that was exchanged with the client. The server application will, at some point, need to be able to read the information in the t

[PATCH AUTOSEL 4.14 39/66] brcmsmac: ampdu: Check BA window size before checking block ack

2020-12-22 Thread Sasha Levin
From: Dmitry Safonov [ Upstream commit 01c195de620bb6c3ecda0dbf295fe685d8232e10 ] bindex can be out of BA window (64): tid 0 seq 2983, start_seq 2915, bindex 68, index 39 tid 0 seq 2984, start_seq 2915, bindex 69, index 40 tid 0 seq 2985, start_seq 2915, bindex 70, index 41 tid 0 seq 298

Re: [PATCH AUTOSEL 4.4 03/38] staging: wimax: depends on NET

2020-12-22 Thread Jakub Kicinski
On Tue, 22 Dec 2020 21:24:41 -0500 Sasha Levin wrote: > From: Randy Dunlap > > [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] > > Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): This one can be dropped, before wimax moved to staging the dependency was met thru the

[PATCH AUTOSEL 4.14 48/66] bridge: switchdev: Notify about VLAN protocol changes

2020-12-22 Thread Sasha Levin
From: Danielle Ratson [ Upstream commit 22ec19f3aee327806c37c9fa1188741574bc6445 ] Drivers that support bridge offload need to be notified about changes to the bridge's VLAN protocol so that they could react accordingly and potentially veto the change. Add a new switchdev attribute to communica

[PATCH AUTOSEL 4.14 45/66] net/lapb: fix t1 timer handling for LAPB_STATE_0

2020-12-22 Thread Sasha Levin
From: Martin Schiller [ Upstream commit 62480b992ba3fb1d7260b11293aed9d6557831c7 ] 1. DTE interface changes immediately to LAPB_STATE_1 and start sending SABM(E). 2. DCE interface sends N2-times DM and changes to LAPB_STATE_1 afterwards if there is no response in the meantime. Signed-off

[PATCH AUTOSEL 4.14 56/66] iwlwifi: add an extra firmware state in the transport

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit b2ed841ed070ccbe908016537f429a3a8f0221bf ] Start tracking not just if the firmware is dead or alive, but also if it's starting. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20201209231352.33e50d40b688.I8

[PATCH AUTOSEL 4.14 61/66] mac80211: disallow band-switch during CSA

2020-12-22 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 3660944a37ce73890292571f44f04891834f9044 ] If the AP advertises a band switch during CSA, we will not have the right information to continue working with it, since it will likely (have to) change its capabilities and we don't track any capability changes at

[PATCH AUTOSEL 4.14 59/66] nl80211: always accept scan request with the duration set

2020-12-22 Thread Sasha Levin
From: Avraham Stern [ Upstream commit c837cbad40d949feaff86734d637c7602ae0b56b ] Accept a scan request with the duration set even if the driver does not support setting the scan dwell. The duration can be used as a hint to the driver, but the driver may use its internal logic for setting the sca

[PATCH AUTOSEL 4.14 62/66] mac80211: Fix calculation of minimal channel width

2020-12-22 Thread Sasha Levin
From: Ilan Peer [ Upstream commit bbf31e88df2f5da20ce613c340ce508d732046b3 ] When calculating the minimal channel width for channel context, the current operation Rx channel width of a station was used and not the overall channel width capability of the station, i.e., both for Tx and Rx. Fix ie

[PATCH AUTOSEL 4.14 63/66] mac80211: don't filter out beacons once we start CSA

2020-12-22 Thread Sasha Levin
From: Emmanuel Grumbach [ Upstream commit 189a164d0fc6c59a22c4486d641d0a0a0d33387a ] I hit a bug in which we started a CSA with an action frame, but the AP changed its mind and didn't change the beacon. The CSA wasn't cancelled and we lost the connection. The beacons were ignored because they n

  1   2   3   >