Re: mlx5_core: null pointer dereference in mlx5_accel_tls_device_caps() (net-next kernel)

2018-09-15 Thread Saeed Mahameed
On Fri, Sep 14, 2018 at 2:20 PM Michal Kubecek wrote: > > I just encountered a null pointer dereference on mlx5_core module > initialization while booting net-next kernel (based on commit > ee4fccbee7d3) on an aarch64 machine: > Hi Michal, the issue was introduced last kernel cycle, due to

Job Offer

2018-09-15 Thread PineCone Research LLC
EMPLOYMENT TITLE: PAYROLL COORDINATOR EMPLOYMENT TYPE: PART-TIME (Work From Home) SALARY: $4500.00 Monthly PineCone Research is pleased to extend this offer of employment for the position of a Payroll Coordinator. POSITION SUMMARY: As a Payroll Coordinator, you will process all aspects of

pull-request: bpf 2018-09-16

2018-09-15 Thread Daniel Borkmann
Hi David, The following pull-request contains BPF updates for your *net* tree. The main changes are: 1) Fix end boundary calculation in BTF for the type section, from Martin. 2) Fix and revert subtraction of pointers that was accidentally allowed for unprivileged programs, from Alexei. 3)

Fw: [Bug 201137] New: using traffic control with sfq cause kernel crash

2018-09-15 Thread Stephen Hemminger
Begin forwarded message: Date: Sat, 15 Sep 2018 08:43:09 + From: bugzilla-dae...@bugzilla.kernel.org To: step...@networkplumber.org Subject: [Bug 201137] New: using traffic control with sfq cause kernel crash https://bugzilla.kernel.org/show_bug.cgi?id=201137 Bug ID: 201137

Re: [PATH RFC net-next 7/8] net: phy: Replace phy driver features u32 with link_mode bitmap

2018-09-15 Thread Andrew Lunn
On Sat, Sep 15, 2018 at 02:31:14PM -0700, Florian Fainelli wrote: > > > On 09/14/18 14:38, Andrew Lunn wrote: > > This is one step in allowing phylib to make use of link_mode bitmaps, > > instead of u32 for supported and advertised features. Convert the phy > > drivers to use bitmaps to

Re: [PATH RFC net-next 8/8] net: phy: Add build warning if assumptions get broken

2018-09-15 Thread Florian Fainelli
On 09/14/18 14:38, Andrew Lunn wrote: > The macro magic to build constant bitmaps of supported PHY features > breaks when we have more than 63 ETHTOOL_LINK_MODE bits. Make the > breakage loud, not a subtle bug, when we get to that condition. > > Signed-off-by: Andrew Lunn Reviewed-by:

Re: [PATH RFC net-next 7/8] net: phy: Replace phy driver features u32 with link_mode bitmap

2018-09-15 Thread Florian Fainelli
On 09/14/18 14:38, Andrew Lunn wrote: > This is one step in allowing phylib to make use of link_mode bitmaps, > instead of u32 for supported and advertised features. Convert the phy > drivers to use bitmaps to indicates the features they support. This > requires some macro magic in order to

[PATCH v2 net] net: aquantia: memory corruption on jumbo frames

2018-09-15 Thread Igor Russkikh
From: Friedemann Gerold This patch fixes skb_shared area, which will be corrupted upon reception of 4K jumbo packets. Originally build_skb usage purpose was to reuse page for skb to eliminate needs of extra fragments. But that logic does not take into account that skb_shared_info should be

Re: [PATCH net] net: aquantia: memory corruption on jumbo frames

2018-09-15 Thread Igor Russkikh
> This patch fixes skb_shared area, which will be corrupted > upon reception of 4K jumbo packets. > Hi David, please discard this patch as it wrongly specifies the original issue reporter and patch author. I'm fixing it now and will resend. Sorry for this. BR, Igor

[PATCH net] net: aquantia: memory corruption on jumbo frames

2018-09-15 Thread Igor Russkikh
From: Michael Rauch This patch fixes skb_shared area, which will be corrupted upon reception of 4K jumbo packets. Originally build_skb usage purpose was to reuse page for skb to eliminate needs of extra fragments. But that logic does not take into account that skb_shared_info should be reserved

RE: [net-next PATCH] tls: async support causes out-of-bounds access in crypto APIs

2018-09-15 Thread Vakul Garg
> -Original Message- > From: netdev-ow...@vger.kernel.org On > Behalf Of John Fastabend > Sent: Saturday, September 15, 2018 1:32 AM > To: Vakul Garg ; davejwat...@fb.com > Cc: doro...@fb.com; netdev@vger.kernel.org; > alexei.starovoi...@gmail.com; dan...@iogearbox.net; >

RE: [PATCH net-next v2] net/tls: Add support for async decryption of tls records

2018-09-15 Thread Vakul Garg
> -Original Message- > From: John Fastabend > Sent: Saturday, September 15, 2018 1:10 AM > To: Vakul Garg ; netdev@vger.kernel.org > Cc: bor...@mellanox.com; avia...@mellanox.com; davejwat...@fb.com; > da...@davemloft.net > Subject: Re: [PATCH net-next v2] net/tls: Add support for async

[PATCH net-next 1/5] dt-bindings: net: lantiq,xrx200-net: Use lower case in hex

2018-09-15 Thread Hauke Mehrtens
Use lower case letters in the addresses of the device tree binding. In addition replace eth with ethernet and fix the size of the reg element in the example. The additional range does not contain any registers but is used for the IP block on the this SoC. Fixes: 839790e88a3c ("dt-bindings: net:

[PATCH net-next 3/5] net: lantiq: lantiq_xrx200: Move clock prepare to probe function

2018-09-15 Thread Hauke Mehrtens
The switch and the MAC are in one IP core and they use the same clock signal from the clock generation unit. Currently the clock architecture in the lantiq SoC code does not allow to easily share the same clocks, this has to be fixed by switching to the common clock framework. As a workaround the

[PATCH net-next 4/5] net: dsa: lantiq_gswip: Minor code style improvements

2018-09-15 Thread Hauke Mehrtens
Use one code block when returning because the interface type is unsupported and also check if some unsupported port gets configured. In addition fix a double the and use dsa_is_cpu_port() instated of manually getting the CPU port. Signed-off-by: Hauke Mehrtens --- drivers/net/dsa/lantiq_gswip.c

[PATCH net-next 0/5] net: lantiq: Minor fixes for vrx200 and gswip

2018-09-15 Thread Hauke Mehrtens
These are mostly minor fixes to problems addresses in the latests round of the review of the original series adding these driver, which were not applied before the patches got merged into net-next. In addition it fixes a data bus error on poweroff. Hauke Mehrtens (5): dt-bindings: net:

[PATCH net-next 5/5] net: dsa: tag_gswip: Add gswip to dsa_tag_protocol_to_str()

2018-09-15 Thread Hauke Mehrtens
The gswip tag was missing in the dsa_tag_protocol_to_str() function, add it. Fixes: 7969119293f5 ("net: dsa: Add Lantiq / Intel GSWIP tag support") Signed-off-by: Hauke Mehrtens --- net/dsa/dsa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index

[PATCH net-next 2/5] dt-bindings: net: dsa: lantiq,xrx200-gswip: Fix minor style fixes

2018-09-15 Thread Hauke Mehrtens
* Use one compatible line per line in the documentation * Remove SoC revision depended compatible lines, we can detect that in the driver * Use lower case letters in hex addresses * Fix the size of the address ranges in the example, this now matches the sizes used by the SoC. The old ones will

Re: [PATH RFC net-next 6/8] net: ethernet xgbe expand PHY_GBIT_FEAUTRES

2018-09-15 Thread Sergei Shtylyov
On 9/15/2018 12:38 AM, Andrew Lunn wrote: The macro PHY_GBIT_FEAUTRES needs to change into a bitmap in order to support link_modes. Remove its use from xgde by replacing it with its definition. Probably, the current behavior is wrong. It probably should be ANDing not assigning. Signed-off-by:

Re: [PATCH net-next] net: lantiq: Fix return value check in xrx200_probe()

2018-09-15 Thread Hauke Mehrtens
On 09/15/2018 03:33 AM, Wei Yongjun wrote: > In case of error, the function devm_ioremap_resource() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > > Fixes: fe1a56420cf2 ("net: lantiq: Add Lantiq / Intel VRX200 Ethernet

Re: [PATCH net-next] net: dsa: gswip: Fix copy-paste error in gswip_gphy_fw_probe()

2018-09-15 Thread Hauke Mehrtens
On 09/15/2018 03:33 AM, Wei Yongjun wrote: > The return value from of_reset_control_array_get_exclusive() is not > checked correctly. The test is done against a wrong variable. This > patch fix it. > > Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200") > Signed-off-by: Wei

Re: [PATCH net-next] net: dsa: gswip: Fix return value check in gswip_probe()

2018-09-15 Thread Hauke Mehrtens
On 09/15/2018 03:33 AM, Wei Yongjun wrote: > In case of error, the function devm_ioremap_resource() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > > Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for