Dear Talented

2018-04-08 Thread Lisa Clement
Dear Talented, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

[PATCH net-next 2/3] dt-bindings: net: ave: add syscon-phy-mode property to configure phy-mode setting

2018-04-08 Thread Kunihiko Hayashi
Add "socionext,syscon-phy-mode" property to specify system controller that configures the settings about phy-mode. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Docume

[PATCH net-next 0/3] ave: fix the activation issues for some UniPhier SoCs

2018-04-08 Thread Kunihiko Hayashi
This add the following stuffs to fix the activation issues and satisfy requirements for AVE ethernet driver implemented on some UniPhier SoCs. - Add support for additional necessary clocks and resets, because the kernel is stalled on Pro4 due to lack of them. - Check whether the SoC supports th

[PATCH net-next 3/3] net: ethernet: ave: add support for phy-mode setting of system controller

2018-04-08 Thread Kunihiko Hayashi
This patch adds support for specifying system controller that configures phy-mode setting. According to the DT property "phy-mode", it's necessary to configure the controller, which is used to choose the settings of the MAC suitable, for example, mdio pin connections, internal clocks, and so on.

[PATCH net-next 1/3] net: ethernet: ave: add multiple clocks and resets support as required property

2018-04-08 Thread Kunihiko Hayashi
When the link is becoming up for Pro4 SoC, the kernel is stalled due to some missing clocks and resets. The AVE block for Pro4 is connected to the GIO bus in the SoC. Without its clock/reset, the access to the AVE register makes the system stall. In the same way, another MAC clock for Giga-bit Co

Re: WARNING in ip_rt_bug

2018-04-08 Thread Dmitry Vyukov
On Mon, Apr 9, 2018 at 7:59 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on net-next commit > 8bde261e535257e81087d39ff808414e2f5aa39d (Sun Apr 1 02:31:43 2018 +) > Merge tag 'mlx5-updates-2018-03-30' of > git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux > syzbot dash

WARNING in ip_rt_bug

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on net-next commit 8bde261e535257e81087d39ff808414e2f5aa39d (Sun Apr 1 02:31:43 2018 +) Merge tag 'mlx5-updates-2018-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b09

WARNING in ip_rt_bug

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on net-next commit 8bde261e535257e81087d39ff808414e2f5aa39d (Sun Apr 1 02:31:43 2018 +) Merge tag 'mlx5-updates-2018-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b09

Re: KASAN: slab-out-of-bounds Read in pfkey_add

2018-04-08 Thread Kevin Easton
On Sun, Apr 08, 2018 at 09:04:33PM -0700, Eric Biggers wrote: ... > > Looks like this is going to be fixed by > https://patchwork.kernel.org/patch/10327883/ ("af_key: Always verify length of > provided sadb_key"), but it's not applied yet to the ipsec tree yet. Kevin, > for > future reference, f

Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

2018-04-08 Thread Michael S. Tsirkin
On Mon, Apr 09, 2018 at 04:09:20AM +, haibinzhang(张海斌) wrote: > > > On Fri, Apr 06, 2018 at 08:22:37AM +, haibinzhang(张海斌) wrote: > > > handle_tx will delay rx for tens or even hundreds of milliseconds when tx > > > busy > > > polling udp packets with small length(e.g. 1byte udp payload),

Re: [RFC PATCH bpf-next 2/6] bpf: add bpf_get_stack helper

2018-04-08 Thread Alexei Starovoitov
On 4/8/18 9:53 PM, Yonghong Song wrote: @@ -1004,7 +1007,8 @@ static void __bpf_prog_put(struct bpf_prog *prog, bool do_idr_lock) bpf_prog_kallsyms_del(prog->aux->func[i]); bpf_prog_kallsyms_del(prog); -call_rcu(&prog->aux->rcu, __bpf_prog_put_rcu); +synchro

Re: [RFC PATCH bpf-next 2/6] bpf: add bpf_get_stack helper

2018-04-08 Thread Yonghong Song
On 4/8/18 8:34 PM, Alexei Starovoitov wrote: On 4/6/18 2:48 PM, Yonghong Song wrote: Currently, stackmap and bpf_get_stackid helper are provided for bpf program to get the stack trace. This approach has a limitation though. If two stack traces have the same hash, only one will get stored in th

Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

2018-04-08 Thread 张海斌
> On Fri, Apr 06, 2018 at 08:22:37AM +, haibinzhang(张海斌) wrote: > > handle_tx will delay rx for tens or even hundreds of milliseconds when tx > > busy > > polling udp packets with small length(e.g. 1byte udp payload), because > > setting > > VHOST_NET_WEIGHT takes into account only sent-byte

Re: KASAN: slab-out-of-bounds Read in pfkey_add

2018-04-08 Thread Eric Biggers
On Fri, Dec 15, 2017 at 11:51:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console ou

Re: [RFC bpf-next] bpf: document eBPF helpers and add a script to generate man page

2018-04-08 Thread Alexei Starovoitov
On Fri, Apr 06, 2018 at 12:11:22PM +0100, Quentin Monnet wrote: > eBPF helper functions can be called from within eBPF programs to perform > a variety of tasks that would be otherwise hard or impossible to do with > eBPF itself. There is a growing number of such helper functions in the > kernel, bu

Re: [PATCH net] arp: fix arp_filter on l3slave devices

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed by the -stable helper bot and determined to be a high probability candidate for -stable trees. (score: 33.5930) The bot has tested the following trees: v4.16, v4.15.15, v4.14.32, v4.9.92, v4.4.126. v4.16: Build OK! v4.15.15: Build

Re: [PATCH net 4/6] ip6_gre: better validate user provided tunnel names

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: c12b395a4664 gre: Support GRE over IPv6. The bot has also determined it's probably a bug fixing patch. (score: 52.9896) The bot has tested the following trees: v4.16, v4.15.15, v4.

Re: [PATCH net 5/6] ip6_tunnel: better validate user provided tunnel names

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: 1da177e4c3f4 Linux-2.6.12-rc2. The bot has also determined it's probably a bug fixing patch. (score: 24.0820) The bot has tested the following trees: v4.16, v4.15.15, v4.14.32, v4.

Re: [PATCH net 0/6] net: better validate user provided tunnel names

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: ed1efb2aefbb ipv6: Add support for IPsec virtual tunnel interfaces. The bot has also determined it's probably a bug fixing patch. (score: 53.6463) The bot has tested the following

Re: [PATCH] net: phy: marvell: Enable interrupt function on LED2 pin

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed by the -stable helper bot and determined to be a high probability candidate for -stable trees. (score: 7.3040) The bot has tested the following trees: v4.16, v4.15.15, v4.14.32, v4.9.92, v4.4.126. v4.16: Build OK! v4.15.15: Build

Re: [PATCH net 3/6] ipv6: sit: better validate user provided tunnel names

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: 1da177e4c3f4 Linux-2.6.12-rc2. The bot has also determined it's probably a bug fixing patch. (score: 53.2877) The bot has tested the following trees: v4.16, v4.15.15, v4.14.32, v4.

Re: [PATCH net 2/6] ip_tunnel: better validate user provided tunnel names

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: c54419321455 GRE: Refactor GRE tunneling code.. The bot has also determined it's probably a bug fixing patch. (score: 46.6256) The bot has tested the following trees: v4.16, v4.15.

Re: [PATCH net 6/6] vti6: better validate user provided tunnel names

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: ed1efb2aefbb ipv6: Add support for IPsec virtual tunnel interfaces. The bot has also determined it's probably a bug fixing patch. (score: 65.4654) The bot has tested the following

Re: [RFC PATCH bpf-next 2/6] bpf: add bpf_get_stack helper

2018-04-08 Thread Alexei Starovoitov
On 4/6/18 2:48 PM, Yonghong Song wrote: Currently, stackmap and bpf_get_stackid helper are provided for bpf program to get the stack trace. This approach has a limitation though. If two stack traces have the same hash, only one will get stored in the stackmap table, so some stack traces are missi

Re: kernel BUG at drivers/vhost/vhost.c:LINE! (2)

2018-04-08 Thread Stefan Hajnoczi
On Mon, Apr 09, 2018 at 05:44:36AM +0300, Michael S. Tsirkin wrote: > On Mon, Apr 09, 2018 at 10:37:45AM +0800, Stefan Hajnoczi wrote: > > On Sat, Apr 7, 2018 at 3:02 AM, syzbot > > wrote: > > > syzbot hit the following crash on upstream commit > > > 38c23685b273cfb4ccf31a199feccce3bdcb5d83 (Fri A

Re: DPAA TX Issues

2018-04-08 Thread Jacob S. Moroni
On Sun, Apr 8, 2018, at 7:46 PM, Jacob S. Moroni wrote: > Hello Madalin, > > I've been experiencing some issues with the DPAA Ethernet driver, > specifically related to frame transmission. Hopefully you can point > me in the right direction. > > TLDR: Attempting to transmit faster than a few fram

[GIT] Networking

2018-04-08 Thread David Miller
1) The sockmap code has to free socket memory on close if there is corked data, from John Fastabend. 2) Tunnel names coming from userspace need to be length validated. From Eric Dumazet. 3) arp_filter() has to take VRFs properly into account, from Miguel Fadon Perlines. 4) Fix oops in

Re: kernel BUG at drivers/vhost/vhost.c:LINE! (2)

2018-04-08 Thread Michael S. Tsirkin
On Mon, Apr 09, 2018 at 10:37:45AM +0800, Stefan Hajnoczi wrote: > On Sat, Apr 7, 2018 at 3:02 AM, syzbot > wrote: > > syzbot hit the following crash on upstream commit > > 38c23685b273cfb4ccf31a199feccce3bdcb5d83 (Fri Apr 6 04:29:35 2018 +) > > Merge tag 'armsoc-drivers' of > > git://git.kern

Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

2018-04-08 Thread Michael S. Tsirkin
On Fri, Apr 06, 2018 at 08:22:37AM +, haibinzhang(张海斌) wrote: > handle_tx will delay rx for tens or even hundreds of milliseconds when tx busy > polling udp packets with small length(e.g. 1byte udp payload), because setting > VHOST_NET_WEIGHT takes into account only sent-bytes but no single pac

Re: [PATCH net-next] net/ncsi: Refactor MAC, VLAN filters

2018-04-08 Thread David Miller
The net-next tree is closed at this time, please resend this when the merge window is over and the net-next tree opens back up. Thank you.

Re: kernel BUG at drivers/vhost/vhost.c:LINE! (2)

2018-04-08 Thread Stefan Hajnoczi
On Sat, Apr 7, 2018 at 3:02 AM, syzbot wrote: > syzbot hit the following crash on upstream commit > 38c23685b273cfb4ccf31a199feccce3bdcb5d83 (Fri Apr 6 04:29:35 2018 +) > Merge tag 'armsoc-drivers' of > git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc > syzbot dashboard link: > https:

[PATCH net-next] net/ncsi: Refactor MAC, VLAN filters

2018-04-08 Thread Samuel Mendoza-Jonas
The NCSI driver defines a generic ncsi_channel_filter struct that can be used to store arbitrarily formatted filters, and several generic methods of accessing data stored in such a filter. However in both the driver and as defined in the NCSI specification there are only two actual filters: VLAN ID

[PATCH AUTOSEL for 4.9 160/293] MIPS: Give __secure_computing() access to syscall arguments.

2018-04-08 Thread Sasha Levin
From: David Daney [ Upstream commit 669c4092225f0ed5df12ebee654581b558a5e3ed ] KProbes of __seccomp_filter() are not very useful without access to the syscall arguments. Do what x86 does, and populate a struct seccomp_data to be passed to __secure_computing(). This allows samples/bpf/tracex5 t

Re: KASAN: use-after-free Read in inet_create

2018-04-08 Thread Sowmini Varadhan
#syz dup: KASAN: use-after-free Read in rds_cong_queue_updates There are a number of manifestations of this bug, basically all suggest that the connect/reconnect etc workqs are somehow being scheduled after the netns is deleted, despite the code refactoring in Commit 3db6e0d172c (and looks like

Re: [PATCH v3] dp83640: Ensure against premature access to PHY registers after reset

2018-04-08 Thread David Miller
From: Esben Haabendal Date: Sun, 8 Apr 2018 22:17:01 +0200 > From: Esben Haabendal > > The datasheet specifies a 3uS pause after performing a software > reset. The default implementation of genphy_soft_reset() does not > provide this, so implement soft_reset with the needed pause. > > Signed-

Re: pull-request: bpf 2018-04-09

2018-04-08 Thread David Miller
From: Daniel Borkmann Date: Mon, 9 Apr 2018 00:28:47 +0200 > The following pull-request contains BPF updates for your *net* tree. > > The main changes are: > > 1) Two sockmap fixes: i) fix a potential warning when a socket with >pending cork data is closed by freeing the memory right when

Re: [RFC] connector: add group_exit_code and signal_flags fields to exit_proc_event

2018-04-08 Thread Evgeniy Polyakov
Hi everyone Sorry for that late reply 01.03.2018, 21:58, "Stefan Strogin" : > So I was thinking to add these two fields to union event_data: > task->signal->group_exit_code > task->signal->flags > This won't increase size of struct proc_event (because of comm_proc_event) > and shouldn't break bac

DPAA TX Issues

2018-04-08 Thread Jacob S. Moroni
Hello Madalin, I've been experiencing some issues with the DPAA Ethernet driver, specifically related to frame transmission. Hopefully you can point me in the right direction. TLDR: Attempting to transmit faster than a few frames per second causes the TX FQ CGR to enter into the congested state a

Re: KASAN: use-after-free Read in inet_create

2018-04-08 Thread Eric Biggers
[+RDS list and maintainer] On Sat, Dec 09, 2017 at 12:50:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 82bcf1def3b5f1251177ad47c44f7e17af039b4b > git://git.cmpxchg.org/linux-mmots.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console o

pull-request: bpf 2018-04-09

2018-04-08 Thread Daniel Borkmann
Hi David, The following pull-request contains BPF updates for your *net* tree. The main changes are: 1) Two sockmap fixes: i) fix a potential warning when a socket with pending cork data is closed by freeing the memory right when the socket is closed instead of seeing still outstanding mem

Re: [PATCH] net: bridge: add missing NULL checks

2018-04-08 Thread Nikolay Aleksandrov
On 08/04/18 20:49, Laszlo Toth wrote: br_port_get_rtnl() can return NULL Signed-off-by: Laszlo Toth --- net/bridge/br_netlink.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) Nacked-by: Nikolay Aleksandrov More below. diff --git a/net/bridge/br_netlink.c b/net/brid

Re: [PATCH bpf-next v8 05/11] seccomp,landlock: Enforce Landlock programs per process hierarchy

2018-04-08 Thread Mickaël Salaün
On 04/08/2018 11:06 PM, Andy Lutomirski wrote: > On Sun, Apr 8, 2018 at 6:13 AM, Mickaël Salaün wrote: >> >> On 02/27/2018 10:48 PM, Mickaël Salaün wrote: >>> >>> On 27/02/2018 17:39, Andy Lutomirski wrote: On Tue, Feb 27, 2018 at 5:32 AM, Alexei Starovoitov wrote: > On Tue, Feb 27

Re: BUG: please report to d...@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx_hist_sample_rtt()

2018-04-08 Thread Eric Biggers
On Thu, Jan 18, 2018 at 01:34:02AM -0800, syzbot wrote: > syzbot has found reproducer for the following crash on linux-next commit > a362f6d2cdbd089dd7040ba66dcb0ad276a20cf7 (Thu Jan 18 07:07:54 2018 +) > Add linux-next specific files for 20180118 > > So far this crash happened 185 times on li

Re: pull request: bluetooth 2018-04-08

2018-04-08 Thread David Miller
From: Johan Hedberg Date: Sun, 8 Apr 2018 20:47:02 +0300 > Here's one important Bluetooth fix for the 4.17-rc series that's needed > to pass several Bluetooth qualification test cases. > > Let me know if there are any issues pulling. Thanks. Pulled, thank you.

Re: [PATCH net 0/8] net: fix uninit-values in networking stack

2018-04-08 Thread David Miller
From: Eric Dumazet Date: Sun, 8 Apr 2018 09:55:58 -0700 > I also have a report of a WARN() in ip_rt_bug(), added in commit > c378a9c019cf5e017d1ed24954b54fae7bebd2bc by Dave Jones. > > Not sure what to do, maybe revert, since ip_rt_bug() is not catastrophic. Let's not do the revert, I wouldn't

Re: [PATCH bpf-next v8 05/11] seccomp,landlock: Enforce Landlock programs per process hierarchy

2018-04-08 Thread Andy Lutomirski
On Sun, Apr 8, 2018 at 6:13 AM, Mickaël Salaün wrote: > > On 02/27/2018 10:48 PM, Mickaël Salaün wrote: >> >> On 27/02/2018 17:39, Andy Lutomirski wrote: >>> On Tue, Feb 27, 2018 at 5:32 AM, Alexei Starovoitov >>> wrote: On Tue, Feb 27, 2018 at 05:20:55AM +, Andy Lutomirski wrote: >

[PATCH v3] dp83640: Ensure against premature access to PHY registers after reset

2018-04-08 Thread Esben Haabendal
From: Esben Haabendal The datasheet specifies a 3uS pause after performing a software reset. The default implementation of genphy_soft_reset() does not provide this, so implement soft_reset with the needed pause. Signed-off-by: Esben Haabendal Reviewed-by: Andrew Lunn --- drivers/net/phy/dp83

Re: WARNING in skb_warn_bad_offload

2018-04-08 Thread Eric Biggers
On Wed, Nov 01, 2017 at 09:50:18PM +0300, 'Dmitry Vyukov' via syzkaller-bugs wrote: > On Wed, Nov 1, 2017 at 9:48 PM, syzbot > > wrote: > > Hello, > > > > syzkaller hit the following crash on > > 720bbe532b7c8f5613b48dea627fc58ed9ace707 > > git://git.cmpxchg.org/linux-mmots.git/master > > compile

Re: WARNING in kcm_exit_net (2)

2018-04-08 Thread Eric Biggers
On Wed, Nov 29, 2017 at 10:08:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 1d3b78bbc6e983fabb3fbf91b76339bf66e4a12c > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console ou

Re: suspicious RCU usage at ./include/net/inet_sock.h:LINE

2018-04-08 Thread Eric Biggers
On Mon, Dec 25, 2017 at 05:45:00PM -0800, syzbot wrote: > syzkaller has found reproducer for the following crash on > fba961ab29e5ffb055592442808bb0f7962e05da > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw c

Re: [PATCH] make net_gso_ok return false when gso_type is zero(invalid)

2018-04-08 Thread Wenhua Shi
2018-04-08 18:51 GMT+02:00 David Miller : > > From: Wenhua Shi > Date: Fri, 6 Apr 2018 03:43:39 +0200 > > > Signed-off-by: Wenhua Shi > > This precondition should be made impossible instead of having to do > an extra check everywhere that this helper is invoked, many of which > are in fast paths

Re: [PATCH iproute2-next 1/1] tc: jsonify tunnel_key action

2018-04-08 Thread David Ahern
On 4/4/18 11:21 AM, Roman Mashak wrote: > Signed-off-by: Roman Mashak > --- > tc/m_tunnel_key.c | 36 +--- > 1 file changed, 25 insertions(+), 11 deletions(-) > applied to iproute2-next

Re: [PATCH iproute2-next 1/1] tc: jsonify connmark action

2018-04-08 Thread David Ahern
On 4/3/18 7:09 AM, Roman Mashak wrote: > Signed-off-by: Roman Mashak > --- > tc/m_connmark.c | 16 ++-- > 1 file changed, 10 insertions(+), 6 deletions(-) applied to iproute2-next

Re: [PATCH iproute2-next 1/1] tc: jsonify skbedit action

2018-04-08 Thread David Ahern
On 4/3/18 1:24 PM, Roman Mashak wrote: > if (tb[TCA_SKBEDIT_PTYPE] != NULL) { > - ptype = RTA_DATA(tb[TCA_SKBEDIT_PTYPE]); > - if (*ptype == PACKET_HOST) > - fprintf(f, " ptype host"); > - else if (*ptype == PACKET_BROADCAST) > -

[PATCH] net: bridge: add missing NULL checks

2018-04-08 Thread Laszlo Toth
br_port_get_rtnl() can return NULL Signed-off-by: Laszlo Toth --- net/bridge/br_netlink.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c index 015f465c..cbec11f 100644 --- a/net/bridge/br_netlink.c +++ b/net/bri

pull request: bluetooth 2018-04-08

2018-04-08 Thread Johan Hedberg
Hi Dave, Here's one important Bluetooth fix for the 4.17-rc series that's needed to pass several Bluetooth qualification test cases. Let me know if there are any issues pulling. Thanks. Johan --- The following changes since commit b5dbc28762fd3fd40ba76303be0c7f707826f982: Merge tag 'kbuild-f

Re: [PATCH net 0/8] net: fix uninit-values in networking stack

2018-04-08 Thread Eric Dumazet
On 04/08/2018 09:49 AM, David Miller wrote: > From: Eric Dumazet > Date: Sun, 8 Apr 2018 09:38:13 -0700 > >> On 04/07/2018 07:40 PM, David Miller wrote: >>> From: Eric Dumazet >>> Date: Sat, 7 Apr 2018 13:42:35 -0700 >>> It seems syzbot got new features enabled, and fired some interestin

Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

2018-04-08 Thread David Miller
From: haibinzhang(张海斌) Date: Fri, 6 Apr 2018 08:22:37 + > handle_tx will delay rx for tens or even hundreds of milliseconds when tx busy > polling udp packets with small length(e.g. 1byte udp payload), because setting > VHOST_NET_WEIGHT takes into account only sent-bytes but no single packet

Re: [PATCH] make net_gso_ok return false when gso_type is zero(invalid)

2018-04-08 Thread David Miller
From: Wenhua Shi Date: Fri, 6 Apr 2018 03:43:39 +0200 > Signed-off-by: Wenhua Shi This precondition should be made impossible instead of having to do an extra check everywhere that this helper is invoked, many of which are in fast paths.

Re: [PATCH net 0/8] net: fix uninit-values in networking stack

2018-04-08 Thread David Miller
From: Eric Dumazet Date: Sun, 8 Apr 2018 09:38:13 -0700 > On 04/07/2018 07:40 PM, David Miller wrote: >> From: Eric Dumazet >> Date: Sat, 7 Apr 2018 13:42:35 -0700 >> >>> It seems syzbot got new features enabled, and fired some interesting >>> reports. Oh well. >> >> Series applied, however i

Re: [patch net] devlink: convert occ_get op to separate registration

2018-04-08 Thread David Miller
From: Jiri Pirko Date: Thu, 5 Apr 2018 22:13:21 +0200 > From: Jiri Pirko > > This resolves race during initialization where the resources with > ops are registered before driver and the structures used by occ_get > op is initialized. So keep occ_get callbacks registered only when > all structs

Re: [PATCH] ARM: dts: ls1021a: Specify TBIPA register address

2018-04-08 Thread David Miller
From: Esben Haabendal Date: Fri, 6 Apr 2018 14:46:35 +0200 > From: Esben Haabendal > > The current (mildly evil) fsl_pq_mdio code uses an undocumented shadow of > the TBIPA register on LS1021A, which happens to be read-only. > Changing TBI PHY address therefore does not work on LS1021A. > > T

Re: [PATCH 1/2] net/fsl_pq_mdio: Allow explicit speficition of TBIPA address

2018-04-08 Thread David Miller
From: Esben Haabendal Date: Fri, 6 Apr 2018 14:38:34 +0200 > From: Esben Haabendal > > This introduces a simpler and generic method for for finding (and mapping) > the TBIPA register. > > Instead of relying of complicated logic for finding the TBIPA register > address based on the MDIO or MII

Re: [PATCH v4] net: thunderx: rework mac addresses list to u64 array

2018-04-08 Thread David Miller
From: Vadim Lomovtsev Date: Fri, 6 Apr 2018 12:53:54 -0700 > @@ -1929,7 +1929,7 @@ static void nicvf_set_rx_mode_task(struct work_struct > *work_arg) > work.work); > struct nicvf *nic = container_of(vf_work, struct nicvf, rx_mode_work); >

Re: [PATCH net 0/5] ibmvnic: Fix driver reset and DMA bugs

2018-04-08 Thread David Miller
From: Thomas Falcon Date: Fri, 6 Apr 2018 18:37:01 -0500 > This patch series introduces some fixes to the driver reset > routines and a patch that fixes mistakes caught by the kernel > DMA debugger. > > The reset fixes include a fix to reset TX queue counters properly > after a reset as well as

Re: [PATCH net 0/8] net: fix uninit-values in networking stack

2018-04-08 Thread Eric Dumazet
On 04/07/2018 07:40 PM, David Miller wrote: > From: Eric Dumazet > Date: Sat, 7 Apr 2018 13:42:35 -0700 > >> It seems syzbot got new features enabled, and fired some interesting >> reports. Oh well. > > Series applied, however in patch #7 the condition syzbot detects > cannot happen. > > In

Re: [Patch net] tipc: use the right skb in tipc_sk_fill_sock_diag()

2018-04-08 Thread David Miller
From: Cong Wang Date: Fri, 6 Apr 2018 18:54:52 -0700 > Commit 4b2e6877b879 ("tipc: Fix namespace violation in > tipc_sk_fill_sock_diag") > tried to fix the crash but failed, the crash is still 100% reproducible > with it. > > In tipc_sk_fill_sock_diag(), skb is the diag dump we are filling, it

Re: [RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice

2018-04-08 Thread David Miller
From: Siwei Liu Date: Fri, 6 Apr 2018 19:32:05 -0700 > And I assume everyone here understands the use case for live > migration (in the context of providing cloud service) is very > different, and we have to hide the netdevs. If not, I'm more than > happy to clarify. I think you still need to cl

Re: [PATCH net] sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6

2018-04-08 Thread David Miller
From: Eric Dumazet Date: Sun, 8 Apr 2018 07:52:08 -0700 > Check must happen before call to ipv6_addr_v4mapped() > > syzbot report was : ... > Signed-off-by: Eric Dumazet > Cc: Vlad Yasevich > Cc: Neil Horman > Reported-by: syzbot Applied and queued up for -stable, thanks Eric.

Re: possible deadlock in perf_event_detach_bpf_prog

2018-04-08 Thread Y Song
On Thu, Mar 29, 2018 at 2:18 PM, Daniel Borkmann wrote: > On 03/29/2018 11:04 PM, syzbot wrote: >> Hello, >> >> syzbot hit the following crash on upstream commit >> 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) >> Linux 4.16-rc7 >> syzbot dashboard link: >> https://syz

KMSAN: uninit-value in tipc_subscrb_rcv_cb

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on https://github.com/google/kmsan.git/master commit e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) kmsan: temporarily disable visitAsmInstruction() to help syzbot syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=7

[PATCH net] sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6

2018-04-08 Thread Eric Dumazet
Check must happen before call to ipv6_addr_v4mapped() syzbot report was : BUG: KMSAN: uninit-value in sctp_sockaddr_af net/sctp/socket.c:359 [inline] BUG: KMSAN: uninit-value in sctp_do_bind+0x60f/0xdc0 net/sctp/socket.c:384 CPU: 0 PID: 3576 Comm: syzkaller968804 Not tainted 4.16.0+ #82 Hardware

Re: [PATCH v2 net] net: dsa: Discard frames from unused ports

2018-04-08 Thread David Miller
From: Andrew Lunn Date: Sat, 7 Apr 2018 20:37:40 +0200 > The Marvell switches under some conditions will pass a frame to the > host with the port being the CPU port. Such frames are invalid, and > should be dropped. Not dropping them can result in a crash when > incrementing the receive statisti

Re: [PATCH net] sctp: do not leak kernel memory to user space

2018-04-08 Thread David Miller
From: Eric Dumazet Date: Sat, 7 Apr 2018 17:15:22 -0700 > syzbot produced a nice report [1] > > Issue here is that a recvmmsg() managed to leak 8 bytes of kernel memory > to user space, because sin_zero (padding field) was not properly cleared. ... > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") >

Re: [PATCH v2] net: phy: marvell10g: add thermal hwmon device

2018-04-08 Thread Guenter Roeck
On Tue, Apr 03, 2018 at 10:31:45AM +0100, Russell King wrote: > Add a thermal monitoring device for the Marvell 88x3310, which updates > once a second. We also need to hook into the suspend/resume mechanism > to ensure that the thermal monitoring is reconfigured when we resume. > > Suggested-by:

Re: [PATCH bpf-next v8 05/11] seccomp,landlock: Enforce Landlock programs per process hierarchy

2018-04-08 Thread Mickaël Salaün
On 02/27/2018 10:48 PM, Mickaël Salaün wrote: > > On 27/02/2018 17:39, Andy Lutomirski wrote: >> On Tue, Feb 27, 2018 at 5:32 AM, Alexei Starovoitov >> wrote: >>> On Tue, Feb 27, 2018 at 05:20:55AM +, Andy Lutomirski wrote: On Tue, Feb 27, 2018 at 4:54 AM, Alexei Starovoitov wrote

KMSAN: uninit-value in _decode_session6

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on https://github.com/google/kmsan.git/master commit e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) kmsan: temporarily disable visitAsmInstruction() to help syzbot syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=2