[Patch bpf-next v4 3/5] bpf: compute data_end dynamically with JIT code

2021-02-15 Thread Cong Wang
From: Cong Wang Currently, we compute ->data_end with a compile-time constant offset of skb. But as Jakub pointed out, we can actually compute it in eBPF JIT code at run-time, so that we can competely get rid of ->data_end. This is similar to skb_shinfo(skb) computation in bpf_convert_shinfo_acce

Re: [RFC PATCH v4 02/17] af_vsock: separate wait data loop

2021-02-15 Thread Arseny Krasnov
On 11.02.2021 18:11, Jorgen Hansen wrote: >> On 7 Feb 2021, at 16:14, Arseny Krasnov wrote: >> >> This moves wait loop for data to dedicated function, because later >> it will be used by SEQPACKET data receive loop. >> >> Signed-off-by: Arseny Krasnov >> --- >> net/vmw_vsock/af_vsock.c | 158 ++

Re: [PATCH 2/2] ath9k: fix ath_tx_process_buffer() potential null ptr dereference

2021-02-15 Thread Kalle Valo
Shuah Khan wrote: > ath_tx_process_buffer() references ieee80211_find_sta_by_ifaddr() > return pointer (sta) outside null check. Fix it by moving the code > block under the null check. > > This problem was found while reviewing code to debug RCU warn from > ath10k_wmi_tlv_parse_peer_stats_info()

Re: [PATCH][next] ath11k: debugfs: Fix spelling mistake "Opportunies" -> "Opportunities"

2021-02-15 Thread Kalle Valo
Colin King wrote: > There is a spelling mistake in some debug text, fix this. > > Signed-off-by: Colin Ian King > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 9c349dbd0752 ath11k: debugfs: Fix spelling mistake "Opportunies" -> "Opportunities" -- https://p

[PATCH] fix coding style in driver/staging/qlge/qlge_main.c

2021-02-15 Thread Du Cheng
align * in block comments on each line Signed-off-by: Du Cheng --- drivers/staging/qlge/qlge_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c index 5516be3af898..bfd7217f3953 100644 --- a/drivers/stagin

linux-next: manual merge of the gpio-brgl tree with the net-next tree

2021-02-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gpio-brgl tree got a conflict in: MAINTAINERS between commit: df53e4f48e8d ("MAINTAINERS: Add entries for Toshiba Visconti ethernet controller") from the net-next tree and commit: 5103c90d133c ("MAINTAINERS: Add entries for Toshiba Visconti GPIO

linux-next: manual merge of the gpio-brgl tree with the arm-soc, net-next trees

2021-02-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gpio-brgl tree got a conflict in: arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts between commits: 4fd18fc38757 ("arm64: dts: visconti: Add watchdog support for TMPV7708 SoC") 0109a17564fc ("arm: dts: visconti: Add DT support for Toshiba Visconti5

Re: [PATCH] fix coding style in driver/staging/qlge/qlge_main.c

2021-02-15 Thread Greg Kroah-Hartman
On Tue, Feb 16, 2021 at 03:18:49PM +0800, Du Cheng wrote: > align * in block comments on each line > > Signed-off-by: Du Cheng > --- > drivers/staging/qlge/qlge_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/qlge/qlge_main.c > b/drivers/staging/

Re: [PATCH net-next RFC v3] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-15 Thread Xie He
On Mon, Feb 15, 2021 at 10:04 PM Leon Romanovsky wrote: > > On Mon, Feb 15, 2021 at 11:08:02AM -0800, Xie He wrote: > > On Mon, Feb 15, 2021 at 10:54 AM Leon Romanovsky wrote: > > > > > > On Mon, Feb 15, 2021 at 09:23:32AM -0800, Xie He wrote: > > > > On Mon, Feb 15, 2021 at 1:25 AM Leon Romanovs

Re: [PATCH mlx5-next v6 1/4] PCI: Add sysfs callback to allow MSI-X table size change of SR-IOV VFs

2021-02-15 Thread Leon Romanovsky
On Mon, Feb 15, 2021 at 03:01:06PM -0600, Bjorn Helgaas wrote: > On Tue, Feb 09, 2021 at 03:34:42PM +0200, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > Extend PCI sysfs interface with a new callback that allows configuration > > of the number of MSI-X vectors for specific SR-IOV VF. Th

[PATCH v2] fix coding style in driver/staging/qlge/qlge_main.c

2021-02-15 Thread Du Cheng
align * in block comments on each line Signed-off-by: Du Cheng --- drivers/staging/qlge/qlge_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c index 5516be3af898..2682a0e474bd 100644 --- a/drivers/stag

Re: [PATCH] vdpa/mlx5: Extract correct pointer from driver data

2021-02-15 Thread Leon Romanovsky
On Tue, Feb 16, 2021 at 08:42:26AM +0200, Eli Cohen wrote: > On Tue, Feb 16, 2021 at 08:35:51AM +0200, Leon Romanovsky wrote: > > On Tue, Feb 16, 2021 at 07:50:22AM +0200, Eli Cohen wrote: > > > struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well > > > in mlx5v_remove(). > > > >

Re: [PATCH net-next RFC v3] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-15 Thread Leon Romanovsky
On Mon, Feb 15, 2021 at 11:30:25PM -0800, Xie He wrote: > On Mon, Feb 15, 2021 at 10:04 PM Leon Romanovsky wrote: > > > > On Mon, Feb 15, 2021 at 11:08:02AM -0800, Xie He wrote: > > > On Mon, Feb 15, 2021 at 10:54 AM Leon Romanovsky wrote: > > > > > > > > On Mon, Feb 15, 2021 at 09:23:32AM -0800,

Re: [PATCH v2] fix coding style in driver/staging/qlge/qlge_main.c

2021-02-15 Thread Greg Kroah-Hartman
On Tue, Feb 16, 2021 at 03:35:26PM +0800, Du Cheng wrote: > align * in block comments on each line > > Signed-off-by: Du Cheng > --- > drivers/staging/qlge/qlge_main.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/staging/qlge/qlge_main.c > b/drivers/stagin

Re: [PATCH 2/2] ath9k: fix ath_tx_process_buffer() potential null ptr dereference

2021-02-15 Thread Felix Fietkau
On 2021-02-16 08:03, Kalle Valo wrote: > Shuah Khan wrote: > >> ath_tx_process_buffer() references ieee80211_find_sta_by_ifaddr() >> return pointer (sta) outside null check. Fix it by moving the code >> block under the null check. >> >> This problem was found while reviewing code to debug RCU

<    1   2   3