Re: [PATCH net-next v4 0/3] net: mpls: fragmentation and gso fixes for locally originated traffic

2016-08-30 Thread David Miller
From: David Ahern Date: Wed, 24 Aug 2016 20:10:42 -0700 > This series fixes mtu and fragmentation for tunnels using lwtunnel > output redirect, and fixes GSO for MPLS for locally originated traffic > reported by Lennert Buytenhek. > > A follow on series will address

Re: [PATCH net-next] net: batch calls to flush_all_backlogs()

2016-08-30 Thread David Miller
From: Eric Dumazet Date: Fri, 26 Aug 2016 12:50:39 -0700 > From: Eric Dumazet > > After commit 145dd5f9c88f ("net: flush the softnet backlog in process > context"), we can easily batch calls to flush_all_backlogs() for all > devices processed in

Re: [net-next] ixgbe: Eliminate useless message and improve logic

2016-08-30 Thread David Miller
From: Jeff Kirsher Date: Tue, 30 Aug 2016 11:33:43 -0700 > From: Mark Rustad > > Remove a useless log message and improve the logic for setting > a PHY address from the contents of the MNG_IF_SEL register. > > Signed-off-by: Mark Rustad

Re: [PATCH net-next 0/8] rxrpc: Preparation for removal of use of skbs from AFS

2016-08-30 Thread David Miller
e that directly rather than getting it from the rxrpc_call > struct. ... > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20160830-1 Pulled, thanks David.

Re: [PATCH 0/7] Netfilter fixes for net

2016-08-30 Thread David Miller
From: Pablo Neira Ayuso Date: Tue, 30 Aug 2016 13:26:16 +0200 > The following patchset contains Netfilter fixes for your net tree, > they are: ... > You can pull these changes from: > > git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git Pulled, thanks a lot

[PATCH net-next] rtnetlink: fdb dump: optimize by saving last interface markers

2016-08-30 Thread Roopa Prabhu
From: Roopa Prabhu fdb dumps spanning multiple skb's currently restart from the first interface again for every skb. This results in unnecessary iterations on the already visited interfaces and their fdb entries. In large scale setups, we have seen this to slow down

Re: [PATCH v3 0/5] meson: Meson8b and GXBB DWMAC glue driver

2016-08-30 Thread David Miller
From: Martin Blumenstingl Date: Tue, 30 Aug 2016 20:49:28 +0200 > On Mon, Aug 29, 2016 at 5:40 AM, David Miller wrote: >> From: Martin Blumenstingl >> Date: Sun, 28 Aug 2016 18:16:32 +0200 >> >>> This

Re: pull-request: mac80211 2016-08-30

2016-08-30 Thread David Miller
From: Johannes Berg Date: Tue, 30 Aug 2016 08:19:18 +0200 > Nothing much, but we have three little fixes, see below. I've included the > static inline so that BATMAN_ADV_BATMAN_V can be changed to be allowed w/o > cfg80211 sooner, and it's a trivial change. > > Let me

Re: [PATCH net] rps: flow_dissector: Fix uninitialized flow_keys used in __skb_get_hash possibly

2016-08-30 Thread Gao Feng
On Wed, Aug 31, 2016 at 12:14 PM, Eric Dumazet wrote: > On Wed, 2016-08-31 at 10:56 +0800, f...@ikuai8.com wrote: >> From: Gao Feng >> >> The original codes depend on that the function parameters are evaluated from >> left to right. But the parameter's

Re: [PATCH net] rps: flow_dissector: Fix uninitialized flow_keys used in __skb_get_hash possibly

2016-08-30 Thread Eric Dumazet
On Wed, 2016-08-31 at 10:56 +0800, f...@ikuai8.com wrote: > From: Gao Feng > > The original codes depend on that the function parameters are evaluated from > left to right. But the parameter's evaluation order is not defined in C > standard actually. > > When

Re: [PATCH net-next 4/6] perf, bpf: add perf events core support for BPF_PROG_TYPE_PERF_EVENT programs

2016-08-30 Thread Alexei Starovoitov
On Mon, Aug 29, 2016 at 02:17:18PM +0200, Peter Zijlstra wrote: > On Fri, Aug 26, 2016 at 07:31:22PM -0700, Alexei Starovoitov wrote: > > +static int perf_event_set_bpf_handler(struct perf_event *event, u32 > > prog_fd) > > +{ > > + struct bpf_prog *prog; > > + > > + if

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Andy Lutomirski
On Tue, Aug 30, 2016 at 6:36 PM, Alexei Starovoitov wrote: > On Tue, Aug 30, 2016 at 02:45:14PM -0700, Andy Lutomirski wrote: >> >> One might argue that landlock shouldn't be tied to seccomp (in theory, >> attached progs could be given access to syscall_get_xyz()),

[PATCH net-next] rps: flow_dissector: Add the const for the parameter of flow_keys_have_l4

2016-08-30 Thread fgao
From: Gao Feng Add the const for the parameter of flow_keys_have_l4 for the readability. Signed-off-by: Gao Feng --- include/net/flow_dissector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/flow_dissector.h

Re: [PATCH RFC 4/4] xfs: Transmit flow steering

2016-08-30 Thread Alexander Duyck
On Tue, Aug 30, 2016 at 5:00 PM, Tom Herbert wrote: > XFS maintains a per device flow table that is indexed by the skbuff > hash. The XFS table is only consulted when there is no queue saved in > a transmit socket for an skbuff. > > Each entry in the flow table contains a

[PATCH net] rps: flow_dissector: Fix uninitialized flow_keys used in __skb_get_hash possibly

2016-08-30 Thread fgao
From: Gao Feng The original codes depend on that the function parameters are evaluated from left to right. But the parameter's evaluation order is not defined in C standard actually. When flow_keys_have_l4() is invoked before ___skb_get_hash(skb, , hashrnd) with some compilers

Re: [PATCH] net/mlx4_en: protect ring->xdp_prog with rcu_read_lock

2016-08-30 Thread Brenden Blanco
On Tue, Aug 30, 2016 at 12:35:58PM +0300, Saeed Mahameed wrote: > On Mon, Aug 29, 2016 at 8:46 PM, Tom Herbert wrote: > > On Mon, Aug 29, 2016 at 8:55 AM, Brenden Blanco > > wrote: > >> On Mon, Aug 29, 2016 at 05:59:26PM +0300, Tariq Toukan wrote: >

Re: [PATCH V2] rtl_bt: Add firmware and config file for RTL8822BE

2016-08-30 Thread Ben Hutchings
On Tue, 2016-08-30 at 20:11 -0500, Larry Finger wrote: > This device is a new model from Realtek. Updates to driver btrtl will > soon be submitted to the kernel. > > These files were provided by the Realtek developer. > > Signed-off-by: 陆朱伟 > Signed-off-by: Larry Finger

Re: [Bridge] [PATCH net-next v2 2/2] net: bridge: add per-port multicast flood flag

2016-08-30 Thread Linus Lüssing
On Tue, Aug 30, 2016 at 05:23:08PM +0200, Nikolay Aleksandrov via Bridge wrote: > diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c > index 1da3221845f1..ed0dd3340084 100644 > --- a/net/bridge/br_if.c > +++ b/net/bridge/br_if.c > @@ -362,7 +362,7 @@ static struct net_bridge_port *new_nbp(struct

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Alexei Starovoitov
On Tue, Aug 30, 2016 at 02:45:14PM -0700, Andy Lutomirski wrote: > > One might argue that landlock shouldn't be tied to seccomp (in theory, > attached progs could be given access to syscall_get_xyz()), but I proposed lsm is way more powerful than syscall_get_xyz. no need to dumb it down. >

Re: [RFCv2 07/16] bpf: enable non-core use of the verfier

2016-08-30 Thread Alexei Starovoitov
On Tue, Aug 30, 2016 at 11:00:38PM +0200, Daniel Borkmann wrote: > On 08/30/2016 10:48 PM, Alexei Starovoitov wrote: > >On Tue, Aug 30, 2016 at 10:22:46PM +0200, Jakub Kicinski wrote: > >>On Tue, 30 Aug 2016 21:07:50 +0200, Daniel Borkmann wrote: > Having two modes seems more straight forward

[PATCH V2] rtl_bt: Add firmware and config file for RTL8822BE

2016-08-30 Thread Larry Finger
This device is a new model from Realtek. Updates to driver btrtl will soon be submitted to the kernel. These files were provided by the Realtek developer. Signed-off-by: 陆朱伟 Signed-off-by: Larry Finger Cc: linux-blueto...@vger.kernel.org ---

Re: [PATCH] rtl_bt: Add firmware and config file for RTL8822BE

2016-08-30 Thread Larry Finger
On 08/30/2016 09:51 AM, Ben Hutchings wrote: On Tue, 2016-08-30 at 09:08 -0500, Larry Finger wrote: This device is a new model from Realtek. Updates to driver btrtl will soon be submitted to the kernel. These files were provided by the Realtek developer. Signed-off-by: 陆朱伟

[PATCH RFC 0/4] xfs: Transmit flow steering

2016-08-30 Thread Tom Herbert
This patch set introduces transmit flow steering. The idea is that we record the transmit queues in a flow table that is indexed by skbuff. The flow table entries have two values: the queue_index and the head cnt of packets from the TX queue. We only allow a queue to change for a flow if the tail

[PATCH bug-fix] iproute: fix documentation for ip rule scan order

2016-08-30 Thread Iskren Chernev
>From 416f45b62f33017d19a9b14e7b0179807c993cbe Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Tue, 30 Aug 2016 17:08:54 -0700 Subject: [PATCH bug-fix] iproute: fix documentation for ip rule scan order --- man/man8/ip-rule.8 | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH RFC 2/4] bql: Add tracking of inflight packets

2016-08-30 Thread Tom Herbert
Add two fields to netdev_queue as head_cnt and tail_cnt. head_cnt is incremented for every sent packet in netdev_tx_sent_queue and tail_cnt is incremented by the number of packets in netdev_tx_completed_queue. So then the number of inflight packets for a queue is simply queue->head_cnt -

[PATCH RFC 4/4] xfs: Transmit flow steering

2016-08-30 Thread Tom Herbert
XFS maintains a per device flow table that is indexed by the skbuff hash. The XFS table is only consulted when there is no queue saved in a transmit socket for an skbuff. Each entry in the flow table contains a queue index and a queue pointer. The queue pointer is set when a queue is chosen using

[PATCH RFC 1/4] net: Set SW hash in skb_set_hash_from_sk

2016-08-30 Thread Tom Herbert
Use the __skb_set_sw_hash to set the hash in an skbuff from the socket txhash. Signed-off-by: Tom Herbert --- include/net/sock.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/net/sock.h b/include/net/sock.h index c797c57..12e585c 100644

[PATCH RFC 3/4] net: Add xps_dev_flow_table_cnt

2016-08-30 Thread Tom Herbert
Add infrastructure and definitions to create XFS flow tables. This creates the new sys entry /sys/class/net/eth*/xps_dev_flow_table_cnt Signed-off-by: Tom Herbert --- include/linux/netdevice.h | 22 ++ net/core/net-sysfs.c | 76

Re: [ovs-dev] [PATCH net-next v11 5/6] openvswitch: add layer 3 flow/port support

2016-08-30 Thread Joe Stringer
On 26 August 2016 at 02:13, Simon Horman wrote: > On Thu, Aug 25, 2016 at 05:33:57PM -0700, Joe Stringer wrote: >> On 25 August 2016 at 03:08, Simon Horman wrote: >> > Please find my working patch below. >> > >> > From: Simon Horman

Re: [PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399

2016-08-30 Thread Heiko Stübner
Am Mittwoch, 31. August 2016, 04:30:06 schrieb Caesar Wang: > This patch adds needed gamc information for rk3399, > also support the gmac pd. > > Signed-off-by: Roger Chen > Signed-off-by: Caesar Wang > --- > >

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Andy Lutomirski
On Aug 30, 2016 1:56 PM, "Alexei Starovoitov" wrote: > > On Tue, Aug 30, 2016 at 10:33:31PM +0200, Mickaël Salaün wrote: > > > > > > On 30/08/2016 22:23, Andy Lutomirski wrote: > > > On Tue, Aug 30, 2016 at 1:20 PM, Mickaël Salaün wrote: > > >> > >

Re: [PATCH 2/4] net: stmmac: dwmac-rk: add pd_gmac support for rk3399

2016-08-30 Thread kbuild test robot
Hi David, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.8-rc4 next-20160825] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to

Re: [RFCv2 07/16] bpf: enable non-core use of the verfier

2016-08-30 Thread Daniel Borkmann
On 08/30/2016 10:48 PM, Alexei Starovoitov wrote: On Tue, Aug 30, 2016 at 10:22:46PM +0200, Jakub Kicinski wrote: On Tue, 30 Aug 2016 21:07:50 +0200, Daniel Borkmann wrote: Having two modes seems more straight forward and I think we would only need to pay attention in the LD_IMM64 case, I

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Alexei Starovoitov
On Tue, Aug 30, 2016 at 10:33:31PM +0200, Mickaël Salaün wrote: > > > On 30/08/2016 22:23, Andy Lutomirski wrote: > > On Tue, Aug 30, 2016 at 1:20 PM, Mickaël Salaün wrote: > >> > >> On 30/08/2016 20:55, Andy Lutomirski wrote: > >>> On Sun, Aug 28, 2016 at 2:42 AM, Mickaël

Re: [PATCH V2] dt: net: enhance DWC EQoS binding to support Tegra186

2016-08-30 Thread Stephen Warren
On 08/30/2016 01:01 PM, Rob Herring wrote: On Wed, Aug 24, 2016 at 03:20:46PM -0600, Stephen Warren wrote: From: Stephen Warren The Synopsys DWC EQoS is a configurable IP block which supports multiple options for bus type, clocking and reset structure, and feature list.

Re: [RFCv2 16/16] nfp: bpf: add offload of TC direct action mode

2016-08-30 Thread Jakub Kicinski
On Tue, 30 Aug 2016 22:02:10 +0200, Daniel Borkmann wrote: > On 08/30/2016 12:52 PM, Jakub Kicinski wrote: > > On Mon, 29 Aug 2016 23:09:35 +0200, Daniel Borkmann wrote: > [...] > >> > >> In da mode, RECLASSIFY is not supported, so this one could be scratched. > >> For the OK and UNSPEC part,

Re: [RFCv2 07/16] bpf: enable non-core use of the verfier

2016-08-30 Thread Alexei Starovoitov
On Tue, Aug 30, 2016 at 10:22:46PM +0200, Jakub Kicinski wrote: > On Tue, 30 Aug 2016 21:07:50 +0200, Daniel Borkmann wrote: > > > Having two modes seems more straight forward and I think we would only > > > need to pay attention in the LD_IMM64 case, I don't think I've seen > > > LLVM generating

Re: [PATCH net-next 2/6] net/mlx5e: Read ETS settings directly from firmware

2016-08-30 Thread Or Gerlitz
On Tue, Aug 30, 2016 at 2:29 PM, Saeed Mahameed wrote: > From: Huy Nguyen > > Current implementation does not read the setting > directly from FW when ieee_getets is called. what's wrong with that? explain

Re: [PATCH net-next 1/6] net/mlx5e: Support DCBX CEE API

2016-08-30 Thread Or Gerlitz
On Tue, Aug 30, 2016 at 2:29 PM, Saeed Mahameed wrote: > From: Huy Nguyen > > Add DCBX CEE API interface for CX4. Configurations are stored in a > temporary structure and are applied to the card's firmware when the > CEE's setall callback function is

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Mickaël Salaün
On 30/08/2016 22:23, Andy Lutomirski wrote: > On Tue, Aug 30, 2016 at 1:20 PM, Mickaël Salaün wrote: >> >> On 30/08/2016 20:55, Andy Lutomirski wrote: >>> On Sun, Aug 28, 2016 at 2:42 AM, Mickaël Salaün wrote: On 28/08/2016 10:13, Andy

[PATCH 1/4] net: stmmac: dwmac-rk: fixes the gmac resume after PD on/off

2016-08-30 Thread Caesar Wang
From: Roger Chen GMAC Power Domain(PD) will be disabled during suspend. That will causes GRF registers reset. So corresponding GRF registers for GMAC must be setup again. Signed-off-by: Roger Chen Signed-off-by: Caesar Wang

[PATCH 2/4] net: stmmac: dwmac-rk: add pd_gmac support for rk3399

2016-08-30 Thread Caesar Wang
From: David Wu Add the gmac power domain support for rk3399, in order to save more power consumption. Signed-off-by: David Wu Signed-off-by: Caesar Wang --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 7 +++ 1

[PATCH 4/4] arm64: dts: rockchip: enable the gmac for rk3399 evb board

2016-08-30 Thread Caesar Wang
We add the required and optional properties for evb board. See the [0] to get the detail information. [0]: Documentation/devicetree/bindings/net/rockchip-dwmac.txt Signed-off-by: Roger Chen Signed-off-by: Caesar Wang ---

[PATCH 0/4] Support the rk3399 gmac pd function

2016-08-30 Thread Caesar Wang
This patch add to handle the gmac pd issue, and support the rk3399 gmac for devicetree. Caesar Wang (2): arm64: dts: rockchip: support gmac for rk3399 arm64: dts: rockchip: enable the gmac for rk3399 evb board David Wu (1): net: stmmac: dwmac-rk: add pd_gmac support for rk3399 Roger

[PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399

2016-08-30 Thread Caesar Wang
This patch adds needed gamc information for rk3399, also support the gmac pd. Signed-off-by: Roger Chen Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 90 1 file changed, 90

Re: [RFC v2 06/10] landlock: Add LSM hooks

2016-08-30 Thread Mickaël Salaün
On 30/08/2016 22:18, Andy Lutomirski wrote: > On Tue, Aug 30, 2016 at 1:10 PM, Mickaël Salaün wrote: >> >> On 30/08/2016 20:56, Andy Lutomirski wrote: >>> On Aug 25, 2016 12:34 PM, "Mickaël Salaün" wrote: Add LSM hooks which can be used by userland

Re: [RFCv2 07/16] bpf: enable non-core use of the verfier

2016-08-30 Thread Jakub Kicinski
On Tue, 30 Aug 2016 21:07:50 +0200, Daniel Borkmann wrote: > > Having two modes seems more straight forward and I think we would only > > need to pay attention in the LD_IMM64 case, I don't think I've seen > > LLVM generating XORs, it's just the cBPF -> eBPF conversion. > > Okay, though, I

Re: [PATCH net-next 6/6] net/mlx5: Add handling for port module event

2016-08-30 Thread Or Gerlitz
On Tue, Aug 30, 2016 at 2:29 PM, Saeed Mahameed wrote: > From: Huy Nguyen > +++ b/include/linux/mlx5/device.h > @@ -543,6 +544,15 @@ struct mlx5_eqe_vport_change { > __be32 rsvd1[6]; > } __packed; > > +struct mlx5_eqe_port_module { > +

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Andy Lutomirski
On Tue, Aug 30, 2016 at 1:20 PM, Mickaël Salaün wrote: > > On 30/08/2016 20:55, Andy Lutomirski wrote: >> On Sun, Aug 28, 2016 at 2:42 AM, Mickaël Salaün wrote: >>> >>> >>> On 28/08/2016 10:13, Andy Lutomirski wrote: On Aug 27, 2016 11:14 PM, "Mickaël

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Mickaël Salaün
On 30/08/2016 20:55, Andy Lutomirski wrote: > On Sun, Aug 28, 2016 at 2:42 AM, Mickaël Salaün wrote: >> >> >> On 28/08/2016 10:13, Andy Lutomirski wrote: >>> On Aug 27, 2016 11:14 PM, "Mickaël Salaün" wrote: On 27/08/2016 22:43, Alexei

Re: [RFC v2 06/10] landlock: Add LSM hooks

2016-08-30 Thread Andy Lutomirski
On Tue, Aug 30, 2016 at 1:10 PM, Mickaël Salaün wrote: > > On 30/08/2016 20:56, Andy Lutomirski wrote: >> On Aug 25, 2016 12:34 PM, "Mickaël Salaün" wrote: >>> >>> Add LSM hooks which can be used by userland through Landlock (eBPF) >>> programs. This programs

Re: [RFC v2 06/10] landlock: Add LSM hooks

2016-08-30 Thread Mickaël Salaün
On 30/08/2016 20:56, Andy Lutomirski wrote: > On Aug 25, 2016 12:34 PM, "Mickaël Salaün" wrote: >> >> Add LSM hooks which can be used by userland through Landlock (eBPF) >> programs. This programs are limited to a whitelist of functions (cf. >> next commit). The eBPF program

Re: [RFCv2 16/16] nfp: bpf: add offload of TC direct action mode

2016-08-30 Thread Daniel Borkmann
On 08/30/2016 12:52 PM, Jakub Kicinski wrote: On Mon, 29 Aug 2016 23:09:35 +0200, Daniel Borkmann wrote: +* 0,1 okNOT SUPPORTED[1] +* 2 drop 0x22 -> drop, count as stat1 +* 4,5 nuke 0x02 -> drop +* 7 redir 0x44 -> redir, count as stat2 +

Re: [RFC v2 00/10] Landlock LSM: Unprivileged sandboxing

2016-08-30 Thread Andy Lutomirski
On Tue, Aug 30, 2016 at 12:51 PM, Mickaël Salaün wrote: > > On 30/08/2016 18:06, Andy Lutomirski wrote: >> On Thu, Aug 25, 2016 at 3:32 AM, Mickaël Salaün wrote: >>> Hi, >>> >>> This series is a proof of concept to fill some missing part of seccomp as >>> the

Re: [RFC v2 00/10] Landlock LSM: Unprivileged sandboxing

2016-08-30 Thread Mickaël Salaün
On 30/08/2016 18:06, Andy Lutomirski wrote: > On Thu, Aug 25, 2016 at 3:32 AM, Mickaël Salaün wrote: >> Hi, >> >> This series is a proof of concept to fill some missing part of seccomp as the >> ability to check syscall argument pointers or creating more dynamic security >>

Re: [PATCH v2] ipv6: Use inbound ifaddr as source addresses for ICMPv6 errors

2016-08-30 Thread Guillaume Nault
On Mon, Aug 29, 2016 at 02:34:32AM +0800, Eli Cooper wrote: > Hello, > > > On 2016/8/29 1:18, Guillaume Nault wrote: > > On Sun, Aug 28, 2016 at 11:34:06AM +0800, Eli Cooper wrote: > >> According to RFC 1885 2.2(c), the source address of ICMPv6 > >> errors in response to forwarded packets should

[PATCH net-next 1/1] rxrpc: Don't expose skbs to in-kernel users [ver #2]

2016-08-30 Thread David Howells
Don't expose skbs to in-kernel users, such as the AFS filesystem, but instead provide a notification hook the indicates that a call needs attention and another that indicates that there's a new call to be collected. This makes the following possibilities more achievable: (1) Call refcounting

[PATCH net-next 0/1] rxrpc: Remove use of skbs from AFS [ver #2]

2016-08-30 Thread David Howells
und here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160830-2v2 David --- David Howells (1): rxrpc: Don't expose s

Re: [PATCH v3 4/5] net: stmmac: add a glue driver for the Amlogic Meson 8b / GXBB DWMAC

2016-08-30 Thread Stephen Boyd
On 08/28, Martin Blumenstingl wrote: > +static int meson8b_init_clk(struct meson8b_dwmac *dwmac) > +{ > + struct clk_init_data init; > + int i, ret; > + struct device *dev = >pdev->dev; > + char clk_name[32]; > + const char *clk_div_parents[1]; > + const char

Re: [RFCv2 07/16] bpf: enable non-core use of the verfier

2016-08-30 Thread Daniel Borkmann
On 08/30/2016 12:48 PM, Jakub Kicinski wrote: On Mon, 29 Aug 2016 22:17:10 +0200, Daniel Borkmann wrote: On 08/29/2016 10:13 PM, Daniel Borkmann wrote: On 08/27/2016 07:32 PM, Alexei Starovoitov wrote: On Sat, Aug 27, 2016 at 12:40:04PM +0100, Jakub Kicinski wrote: probably

[PATCH v2] cfg80211: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
The workqueue "cfg80211_wq" is involved in cleanup, scan and event related works. It queues multiple work items >event_work, >dfs_update_channels_wk, _to_rdev(request->wiphy)->scan_done_wk, _to_rdev(wiphy)->sched_scan_results_wk, which require strict execution ordering. Hence, an ordered dedicated

Re: [PATCH V2] dt: net: enhance DWC EQoS binding to support Tegra186

2016-08-30 Thread Rob Herring
On Wed, Aug 24, 2016 at 03:20:46PM -0600, Stephen Warren wrote: > From: Stephen Warren > > The Synopsys DWC EQoS is a configurable IP block which supports multiple > options for bus type, clocking and reset structure, and feature list. > Extend the DT binding to define a

Re: [RFC v2 06/10] landlock: Add LSM hooks

2016-08-30 Thread Andy Lutomirski
On Aug 25, 2016 12:34 PM, "Mickaël Salaün" wrote: > > Add LSM hooks which can be used by userland through Landlock (eBPF) > programs. This programs are limited to a whitelist of functions (cf. > next commit). The eBPF program context is depicted by the struct > landlock_data

Re: [RFC v2 09/10] landlock: Handle cgroups (performance)

2016-08-30 Thread Andy Lutomirski
On Sun, Aug 28, 2016 at 2:42 AM, Mickaël Salaün wrote: > > > On 28/08/2016 10:13, Andy Lutomirski wrote: >> On Aug 27, 2016 11:14 PM, "Mickaël Salaün" wrote: >>> >>> >>> On 27/08/2016 22:43, Alexei Starovoitov wrote: On Sat, Aug 27, 2016 at 09:35:14PM

Re: [PATCH v3 0/5] meson: Meson8b and GXBB DWMAC glue driver

2016-08-30 Thread Martin Blumenstingl
On Mon, Aug 29, 2016 at 5:40 AM, David Miller wrote: > From: Martin Blumenstingl > Date: Sun, 28 Aug 2016 18:16:32 +0200 > >> This adds a DWMAC glue driver for the PRG_ETHERNET registers found in >> Meson8b and GXBB SoCs. Based on the

[net-next] ixgbe: Eliminate useless message and improve logic

2016-08-30 Thread Jeff Kirsher
From: Mark Rustad Remove a useless log message and improve the logic for setting a PHY address from the contents of the MNG_IF_SEL register. Signed-off-by: Mark Rustad Tested-by: Andrew Bowers Signed-off-by: Jeff

Re: [PATCH net] tg3: Fix for disallow tx coalescing time to be 0

2016-08-30 Thread Sergei Shtylyov
Hello. On 08/30/2016 05:38 PM, Ivan Vecera wrote: The recent commit 087d7a8c disallows to set Rx coalescing time to be 0 You should specify both 12-digit SHA1 and the commit summary enclosed in (""). as this stops generating interrupts for the incoming packets. I found the zero Tx

Re: [PATCH net] l2tp: fix use-after-free during module unload

2016-08-30 Thread Sergei Shtylyov
Hello. On 08/30/2016 05:05 PM, Sabrina Dubroca wrote: Tunnel deletion is delayed by both a workqueue (l2tp_tunnel_delete -> wq -> l2tp_tunnel_del_work) and RCU (sk_destruct -> RCU -> l2tp_tunnel_destruct). By the time l2tp_tunnel_destruct() runs to destroy the tunnel and finish destroying

[PATCH net-next 03/12] net: l3mdev: Allow the l3mdev to be a loopback

2016-08-30 Thread David Ahern
Allow an L3 master device to act as the loopback for that L3 domain. For IPv4 the device can also have the address 127.0.0.1. Signed-off-by: David Ahern --- include/net/l3mdev.h | 6 +++--- net/ipv4/route.c | 8 ++-- net/ipv6/route.c | 12 ++-- 3

[PATCH net-next 00/12] net: Convert vrf from dst to tx hook

2016-08-30 Thread David Ahern
The motivation for this series is that ICMP Unreachable - Fragmentation Needed packets are not handled properly for VRFs. Specifically, the FIB lookup in __ip_rt_update_pmtu fails so no nexthop exception is created with the reduced MTU. As a result connections stall if packets larger than the

[PATCH net-next 06/12] net: remove redundant l3mdev calls

2016-08-30 Thread David Ahern
A previous patch added l3mdev flow update making these hooks redundant. Signed-off-by: David Ahern --- net/ipv4/ip_output.c| 3 +-- net/ipv4/route.c| 12 ++-- net/ipv4/xfrm4_policy.c | 2 +- net/ipv6/ip6_output.c | 2 -- net/ipv6/ndisc.c

[PATCH net-next 02/12] net: l3mdev: Add hook to output path

2016-08-30 Thread David Ahern
This patch adds the infrastructure to the output path to pass an skb to an l3mdev device if it has a hook registered. This is the Tx parallel to l3mdev_ip{6}_rcv in the receive path and is the basis for removing the dst based hook. Signed-off-by: David Ahern ---

[PATCH net-next 01/12] net: flow: Add l3mdev flow update

2016-08-30 Thread David Ahern
Add l3mdev hook to set FLOWI_FLAG_SKIP_NH_OIF flag and update oif/iif in flow struct if its oif or iif points to a device enslaved to an L3 Master device. Only 1 needs to be converted to match the l3mdev FIB rule. This moves the flow adjustment for l3mdev to a single point catching all lookups. It

[PATCH net-next 04/12] net: vrf: Flip IPv4 path from dst to out hook

2016-08-30 Thread David Ahern
Flip the IPv4 output path from use of the vrf dst to the l3mdev tx out hook. Signed-off-by: David Ahern --- drivers/net/vrf.c | 171 -- net/ipv4/route.c | 4 -- 2 files changed, 64 insertions(+), 111 deletions(-)

[PATCH net-next 05/12] net: vrf: Flip IPv6 path from dst to out hook

2016-08-30 Thread David Ahern
Flip the IPv6 output path from use of the vrf dst to the l3mdev tx out hook. Signed-off-by: David Ahern --- drivers/net/vrf.c | 156 -- net/ipv6/ip6_output.c | 9 ++- net/ipv6/route.c | 5 -- 3 files changed,

[PATCH net-next 10/12] net: l3mdev: Remove l3mdev_get_rt6_dst

2016-08-30 Thread David Ahern
No longer used Signed-off-by: David Ahern --- drivers/net/vrf.c| 92 +++- include/net/l3mdev.h | 14 net/l3mdev/l3mdev.c | 32 -- 3 files changed, 4 insertions(+), 134 deletions(-) diff

[PATCH net-next 12/12] net: flow: Remove FLOWI_FLAG_L3MDEV_SRC flag

2016-08-30 Thread David Ahern
No longer used Signed-off-by: David Ahern --- include/net/flow.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/net/flow.h b/include/net/flow.h index d47ef4bb5423..035aa7716967 100644 --- a/include/net/flow.h +++ b/include/net/flow.h @@

[PATCH net-next 11/12] net: l3mdev: Remove l3mdev_fib_oif

2016-08-30 Thread David Ahern
No longer used Signed-off-by: David Ahern --- include/net/l3mdev.h | 29 - 1 file changed, 29 deletions(-) diff --git a/include/net/l3mdev.h b/include/net/l3mdev.h index 3c1d71474f55..6aae664b427a 100644 --- a/include/net/l3mdev.h +++

[PATCH net-next 08/12] net: ipv6: Remove l3mdev_get_saddr6

2016-08-30 Thread David Ahern
No longer needed Signed-off-by: David Ahern --- drivers/net/vrf.c | 41 - include/net/l3mdev.h | 11 --- net/ipv6/ip6_output.c | 9 + net/l3mdev/l3mdev.c | 24 4 files changed, 1

[PATCH net-next 07/12] net: ipv4: Remove l3mdev_get_saddr

2016-08-30 Thread David Ahern
No longer needed Signed-off-by: David Ahern --- drivers/net/vrf.c| 38 -- include/net/l3mdev.h | 12 include/net/route.h | 10 -- net/ipv4/raw.c | 6 -- net/ipv4/udp.c | 6 --

[PATCH net-next 09/12] net: l3mdev: Remove l3mdev_get_rtable

2016-08-30 Thread David Ahern
No longer used Signed-off-by: David Ahern --- drivers/net/vrf.c| 47 ++- include/net/l3mdev.h | 21 - 2 files changed, 2 insertions(+), 66 deletions(-) diff --git a/drivers/net/vrf.c

Re: [PATCH] net: pegasus: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Petko Manolov
On 16-08-30 22:02:47, Bhaktipriya Shridhar wrote: > The workqueue "pegasus_workqueue" queues a single work item per pegasus > instance and hence it doesn't require execution ordering. Hence, > alloc_workqueue has been used to replace the deprecated > create_singlethread_workqueue instance. > >

[PATCH] net: pegasus: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
The workqueue "pegasus_workqueue" queues a single work item per pegasus instance and hence it doesn't require execution ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. The WQ_MEM_RECLAIM flag has been set to ensure forward progress

[PATCH] bonding: Remove deprecated create_singlethread_workqueue

2016-08-30 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues multiple work items viz >mcast_work, >work, >mii_work, >arp_work, >alb_work, >mii_work, >ad_work, >slave_arr_work which require strict

Re: [PATCH net] sunrpc: fix UDP memory accounting

2016-08-30 Thread Benjamin Coddington
On 25 Aug 2016, at 12:42, Paolo Abeni wrote: The commit f9b2ee714c5c ("SUNRPC: Move UDP receive data path into a workqueue context"), as a side effect, moved the skb_free_datagram() call outside the scope of the related socket lock, but UDP sockets require such lock to be held for proper memory

Re: [PATCH net-next] rxrpc: Remove use of skbs from AFS

2016-08-30 Thread David Howells
Sorry about this, stgit mail is playing silly devils and not inserting the patch numbers if there's a cover letter but only one patch:-/ David

[PATCH net-next] rxrpc: Remove use of skbs from AFS

2016-08-30 Thread David Howells
und here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160830-2v2 David --- David Howells (1): rxrpc: Don't expose s

Re: [PATCH v4] brcmfmac: add missing header dependencies

2016-08-30 Thread Kalle Valo
Baoyou Xie writes: > On 29 August 2016 at 23:31, Rafał Miłecki wrote: > > On 29 August 2016 at 14:39, Baoyou Xie wrote: > > We get 1 warning when build kernel with W=1: > >

Re: [RFC v2 00/10] Landlock LSM: Unprivileged sandboxing

2016-08-30 Thread Andy Lutomirski
On Thu, Aug 25, 2016 at 3:32 AM, Mickaël Salaün wrote: > Hi, > > This series is a proof of concept to fill some missing part of seccomp as the > ability to check syscall argument pointers or creating more dynamic security > policies. The goal of this new stackable Linux Security

Re: [PATCH next] tcp: fastopen: fix rcv_wup initialization for TFO server on SYN/data

2016-08-30 Thread Neal Cardwell
Sorry, there's a typo in the subject line: that should be "net" rather than "next" (I'm proposing "net" since it's a bug fix). Looks like "git am" strips this mistake, but I'm happy to resubmit if it helps. thanks, neal

[PATCH next] tcp: fastopen: fix rcv_wup initialization for TFO server on SYN/data

2016-08-30 Thread Neal Cardwell
Yuchung noticed that on the first TFO server data packet sent after the (TFO) handshake, the server echoed the TCP timestamp value in the SYN/data instead of the timestamp value in the final ACK of the handshake. This problem did not happen on regular opens. The tcp_replace_ts_recent() logic that

[PATCH net-next] rxrpc: Don't expose skbs to in-kernel users

2016-08-30 Thread David Howells
Don't expose skbs to in-kernel users, such as the AFS filesystem, but instead provide a notification hook the indicates that a call needs attention and another that indicates that there's a new call to be collected. This makes the following possibilities more achievable: (1) Call refcounting

[PATCH net-next] rxrpc: Remove use of skbs from AFS

2016-08-30 Thread David Howells
for AFS. The patch can be found here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160830-2 David --- David Howells (1

Re: [PATCH 4/8] dmaengine: sa11x0: unexport sa11x0_dma_filter_fn and clean up

2016-08-30 Thread Vinod Koul
On Mon, Aug 29, 2016 at 12:26:20PM +0100, Russell King wrote: > As we now have no users of sa11x0_dma_filter_fn() in the tree, we can > unexport this function, and remove the now unused header file. Acked-by: Vinod Koul -- ~Vinod

Re: [PATCH 1/8] dmaengine: sa11x0: add DMA filters

2016-08-30 Thread Vinod Koul
On Mon, Aug 29, 2016 at 12:26:04PM +0100, Russell King wrote: > Add DMA filters for the sa11x0 DMA channels. This will allow us to > migrate away from directly using the DMA filter function in drivers. Acked-by: Vinod Koul -- ~Vinod

[PATCH net] net: bridge: don't increment tx_dropped in br_do_proxy_arp

2016-08-30 Thread Nikolay Aleksandrov
pskb_may_pull may fail due to various reasons (e.g. alloc failure), but the skb isn't changed/dropped and processing continues so we shouldn't increment tx_dropped. CC: Kyeyoon Park CC: Roopa Prabhu CC: Stephen Hemminger

Re: [PATCH net] tg3: Fix for disallow tx coalescing time to be 0

2016-08-30 Thread Michael Chan
On Tue, Aug 30, 2016 at 7:38 AM, Ivan Vecera wrote: > The recent commit 087d7a8c disallows to set Rx coalescing time to be 0 > as this stops generating interrupts for the incoming packets. I found > the zero Tx coalescing time stops generating interrupts similarly for >

Re: [PATCH 0/4] SA11x0 Clocks and removal of Neponset SMC91x hack

2016-08-30 Thread Nicolas Pitre
On Tue, 30 Aug 2016, Russell King - ARM Linux wrote: > This mini-series (which follows several other series on which it > depends) gets rid of the Assabet/Neponset hack in the smc91x driver. > > In order to do that, we need to get several pieces in place first: > * gpiolib support throughout

[PATCH net-next 6/8] rxrpc: Provide a way for AFS to ask for the peer address of a call

2016-08-30 Thread David Howells
Provide a function so that kernel users, such as AFS, can ask for the peer address of a call: void rxrpc_kernel_get_peer(struct rxrpc_call *call, struct sockaddr_rxrpc *_srx); In the future the kernel service won't get sk_buffs to look inside. Further, this

[PATCH net-next 8/8] rxrpc: Pass struct socket * to more rxrpc kernel interface functions

2016-08-30 Thread David Howells
Pass struct socket * to more rxrpc kernel interface functions. They should be starting from this rather than the socket pointer in the rxrpc_call struct if they need to access the socket. I have left: rxrpc_kernel_is_data_last() rxrpc_kernel_get_abort_code()

  1   2   >