Re: [net-next PATCH] e1000: add initial XDP support

2016-08-27 Thread Or Gerlitz
On Sat, Aug 27, 2016 at 10:11 AM, John Fastabend wrote: > From: Alexei Starovoitov > This patch adds initial support for XDP on e1000 driver. Note e1000 > driver does not support page recycling in general which could be > added as a further improvement. However for XDP_DROP and XDP_XMIT > the xd

Re: [PATCH] [v9] net: emac: emac gigabit ethernet controller driver

2016-08-27 Thread David Miller
From: Timur Tabi Date: Sat, 27 Aug 2016 07:26:39 -0500 > David Miller wrote: >> From: Timur Tabi >> Date: Thu, 25 Aug 2016 16:39:03 -0500 >> >>> +static const u8 duuid[] = { >>> + 0x77, 0x79, 0x60, 0xbf, >>> + 0x2d, 0xab, >>> + 0x9d, 0x4b, >>> + 0x94, 0xf0, >>> + 0xe1, 0x11, 0x98, 0x01

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

2016-08-27 Thread Eli Cooper
According to RFC 1885 2.2(c), the source address of ICMPv6 errors in response to forwarded packets should be set to the unicast address of the forwarding interface in order to be helpful in diagnosis. Currently the selection of source address is based on the default route, without respect to the in

[PATCH] Documentation: networking: dsa: Remove platform device TODO

2016-08-27 Thread Florian Fainelli
Since commit 83c0afaec7b7 ("net: dsa: Add new binding implementation"), the shortcomings of the dsa platform device have been addressed, remove that TODO item. Signed-off-by: Florian Fainelli --- Documentation/networking/dsa/dsa.txt | 20 1 file changed, 20 deletions(-) dif

Re: [PATCH v2] net: smc91x: fix SMC accesses

2016-08-27 Thread Robert Jarzmik
Russell King writes: > Commit b70661c70830 ("net: smc91x: use run-time configuration on all ARM > machines") broke some ARM platforms through several mistakes. Firstly, > the access size must correspond to the following rule: > > (a) at least one of 16-bit or 8-bit access size must be supported

iptables, conntrack, and the raw table vs. L3DSR

2016-08-27 Thread Quentin Barnes
Several years ago, I wrote an iptables module that rewrites packets' destination addresses based on the value in the DSCP field to implement Layer 3 Direct Server Return (L3DSR). The main code of the iptables target module you can find here: https://github.com/yahoo/l3dsr/blob/master/linux/kmod-xt

Re: [PATCH] ravb: avoid unused function warnings

2016-08-27 Thread Sergei Shtylyov
Hello. On 08/27/2016 01:48 AM, Sergei Shtylyov wrote: When CONFIG_PM_SLEEP is disabled, we get a couple of harmless warnings: drivers/net/ethernet/renesas/ravb_main.c:2117:12: error: 'ravb_resume' defined but not used [-Werror=unused-function] drivers/net/ethernet/renesas/ravb_main.c:2104:12:

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 22:56, Alexei Starovoitov wrote: > On Sat, Aug 27, 2016 at 09:55:01PM +0200, Mickaël Salaün wrote: >> >> On 27/08/2016 20:19, Alexei Starovoitov wrote: >>> On Sat, Aug 27, 2016 at 04:34:55PM +0200, Mickaël Salaün wrote: On 27/08/2016 01:05, Alexei Starovoitov wrote: > O

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 22:43, Alexei Starovoitov wrote: > On Sat, Aug 27, 2016 at 09:35:14PM +0200, Mickaël Salaün wrote: >> On 27/08/2016 20:06, Alexei Starovoitov wrote: >>> On Sat, Aug 27, 2016 at 04:06:38PM +0200, Mickaël Salaün wrote: As said above, Landlock will not run an eBPF programs when not

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

2016-08-27 Thread Alexei Starovoitov
On Sat, Aug 27, 2016 at 09:55:01PM +0200, Mickaël Salaün wrote: > > On 27/08/2016 20:19, Alexei Starovoitov wrote: > > On Sat, Aug 27, 2016 at 04:34:55PM +0200, Mickaël Salaün wrote: > >> > >> On 27/08/2016 01:05, Alexei Starovoitov wrote: > >>> On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Sa

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

2016-08-27 Thread Alexei Starovoitov
On Sat, Aug 27, 2016 at 09:35:14PM +0200, Mickaël Salaün wrote: > > On 27/08/2016 20:06, Alexei Starovoitov wrote: > > On Sat, Aug 27, 2016 at 04:06:38PM +0200, Mickaël Salaün wrote: > >> > >> On 27/08/2016 01:05, Alexei Starovoitov wrote: > >>> On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Sa

Re: [PATCH] [v9] net: emac: emac gigabit ethernet controller driver

2016-08-27 Thread Timur Tabi
Rami Rosen wrote: Hi, Shouldn't it be obj-$(CONFIG_QCOM_EMAC) instead obj-y? Yes, I noticed this soon after I posted this patch. I will fix it in v10. The return type of the method emac_tx_tpd_create() should be void, as it always returns true. Will fix, thanks. Seems that there are se

Re: [PATCH] [v9] net: emac: emac gigabit ethernet controller driver

2016-08-27 Thread Rami Rosen
Hi, Shouldn't it be obj-$(CONFIG_QCOM_EMAC) instead obj-y? QCOM_EMAC is defined as tristate in the drivers/net/ethernet/qualcomm/Kconfig by this patch, so it should be possible to build it as a *.ko module also. > diff --git a/drivers/net/ethernet/qualcomm/emac/Makefile > b/drivers/net/ethernet/

[PATCH net 2/2] ppp: declare PPP devices as LLTX

2016-08-27 Thread Guillaume Nault
ppp_xmit_process() already locks the xmit path. If HARD_TX_LOCK() tries to hold the _xmit_lock we can get lock inversion. [ 973.726130] == [ 973.727311] [ INFO: possible circular locking dependency detected ] [ 973.728546] 4.8.0-rc2 #1 Tainted

[PATCH net 1/2] ppp: avoid dealock on recursive xmit

2016-08-27 Thread Guillaume Nault
In case of misconfiguration, a virtual PPP channel might send packets back to their parent PPP interface. This typically happens in misconfigured L2TP setups, where PPP's peer IP address is set with the IP of the L2TP peer. When that happens the system hangs due to PPP trying to recursively lock it

[PATCH net 0/2] ppp: fix deadlock upon recursive xmit

2016-08-27 Thread Guillaume Nault
This series fixes the issue reported by Feng where packets looping through a ppp device makes the module deadlock: https://marc.info/?l=linux-netdev&m=147134567319038&w=2 The problem can occur on virtual interfaces (e.g. PPP over L2TP, or PPPoE on vxlan devices), when a PPP packet is routed back t

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 20:19, Alexei Starovoitov wrote: > On Sat, Aug 27, 2016 at 04:34:55PM +0200, Mickaël Salaün wrote: >> >> On 27/08/2016 01:05, Alexei Starovoitov wrote: >>> On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: >>> > As far as safety and type checking that bpf programs h

Re: [PATCH v2 net-next] documentation: Document issues with VMs and XPS and drivers enabling it on their own

2016-08-27 Thread Tom Herbert
On Fri, Aug 26, 2016 at 9:35 PM, David Miller wrote: > From: Tom Herbert > Date: Thu, 25 Aug 2016 16:43:35 -0700 > >> This seems like it will only confuse users even more. You've clearly >> identified an issue, let's figure out how to fix it. > > I kinda feel the same way about this situation. I

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 20:06, Alexei Starovoitov wrote: > On Sat, Aug 27, 2016 at 04:06:38PM +0200, Mickaël Salaün wrote: >> >> On 27/08/2016 01:05, Alexei Starovoitov wrote: >>> On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: > > - I don't think such 'for' loop can scale. The

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

2016-08-27 Thread Alexei Starovoitov
On Sat, Aug 27, 2016 at 04:19:05PM +0200, Mickaël Salaün wrote: > > On 27/08/2016 01:05, Alexei Starovoitov wrote: > > On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: > >> To sum up, there is four related patchsets: > >> * "Landlock LSM: Unprivileged sandboxing" (this series) > >>

Re: [PATCH net-next] tcp: add tcp_add_backlog()

2016-08-27 Thread Neal Cardwell
On Sat, Aug 27, 2016 at 10:37 AM, Eric Dumazet wrote: > From: Eric Dumazet > > When TCP operates in lossy environments (between 1 and 10 % packet > losses), many SACK blocks can be exchanged, and I noticed we could > drop them on busy senders, if these SACK blocks have to be queued > into the soc

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

2016-08-27 Thread Alexei Starovoitov
On Sat, Aug 27, 2016 at 04:34:55PM +0200, Mickaël Salaün wrote: > > On 27/08/2016 01:05, Alexei Starovoitov wrote: > > On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: > > > >>> As far as safety and type checking that bpf programs has to do, > >>> I like the approach of patch 06/10:

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

2016-08-27 Thread Alexei Starovoitov
On Sat, Aug 27, 2016 at 12:30:36AM -0700, Andy Lutomirski wrote: > > cgroup is the common way to group multiple tasks. > > Without cgroup only parent<->child relationship will be possible, > > which will limit usability of such lsm to a master task that controls > > its children. Such api restricti

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

2016-08-27 Thread Alexei Starovoitov
On Sat, Aug 27, 2016 at 04:06:38PM +0200, Mickaël Salaün wrote: > > On 27/08/2016 01:05, Alexei Starovoitov wrote: > > On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: > >> > >>> > >>> - I don't think such 'for' loop can scale. The solution needs to work > >>> with thousands of cont

Re: [PATCH] [v9] net: emac: emac gigabit ethernet controller driver

2016-08-27 Thread Florian Fainelli
On August 27, 2016 5:26:39 AM PDT, Timur Tabi wrote: >David Miller wrote: >> From: Timur Tabi >> Date: Thu, 25 Aug 2016 16:39:03 -0500 >> >>> +static const u8 duuid[] = { >>> + 0x77, 0x79, 0x60, 0xbf, >>> + 0x2d, 0xab, >>> + 0x9d, 0x4b, >>> + 0x94, 0xf0, >>> + 0xe1, 0x11, 0x98, 0x01, 0x

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

2016-08-27 Thread Alexei Starovoitov
On Sat, Aug 27, 2016 at 12:40:04PM +0100, Jakub Kicinski wrote: > On Fri, 26 Aug 2016 16:29:05 -0700, Alexei Starovoitov wrote: > > On Fri, Aug 26, 2016 at 07:06:06PM +0100, Jakub Kicinski wrote: > > > Advanced JIT compilers and translators may want to use > > > eBPF verifier as a base for parsers

Re: [PATCH] bridge: Fix format string for %ul

2016-08-27 Thread Oleg Drokin
On Aug 27, 2016, at 12:18 PM, Sergei Shtylyov wrote: > Hello. > > On 8/27/2016 6:58 PM, Oleg Drokin wrote: > %ul would print an unsigned value and a letter l, likely it was %lu that was meant to print the long int, but in reality the values printed there are just regular signed >

[PATCH v2] net: smc91x: fix SMC accesses

2016-08-27 Thread Russell King
Commit b70661c70830 ("net: smc91x: use run-time configuration on all ARM machines") broke some ARM platforms through several mistakes. Firstly, the access size must correspond to the following rule: (a) at least one of 16-bit or 8-bit access size must be supported (b) 32-bit accesses are optional

[PATCH] net: smc91x: fix SMC accesses

2016-08-27 Thread Russell King
Commit b70661c70830 ("net: smc91x: use run-time configuration on all ARM machines") broke some ARM platforms through several mistakes. Firstly, the access size must correspond to the following rule: (a) at least one of 16-bit or 8-bit access size must be supported (b) 32-bit accesses are optional

[PATCH] fix:gpio: mark symbols static where possible

2016-08-27 Thread Baoyou Xie
We get 1 warning about global functions without a declaration in the ath9k gpio driver when building with W=1: drivers/net/wireless/ath/ath9k/gpio.c:25:6: warning: no previous prototype for 'ath_fill_led_pin' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is de

Re: [PATCH net-next] tcp: add tcp_add_backlog()

2016-08-27 Thread Eric Dumazet
On Sat, 2016-08-27 at 09:13 -0700, Yuchung Cheng wrote: > On Sat, Aug 27, 2016 at 7:37 AM, Eric Dumazet wrote: > > > > + /* Only socket owner can try to collapse/prune rx queues > > +* to reduce memory overhead, so add a little headroom here. > > +* Few sockets backlog are p

Re: [PATCH] bridge: Fix format string for %ul

2016-08-27 Thread Sergei Shtylyov
Hello. On 8/27/2016 6:58 PM, Oleg Drokin wrote: %ul would print an unsigned value and a letter l, likely it was %lu that was meant to print the long int, but in reality the values printed there are just regular signed Signed? Then you need probably "%d" or "%i"… They are signed in the str

[PATCH] fix:rtl8xxxu_core: mark symbols static where possible

2016-08-27 Thread Baoyou Xie
We get 1 warning about global functions without a declaration in the rtl8xxxu rtl8xxxu_core.c when building with W=1: drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:898:1: warning: no previous prototype for 'rtl8xxxu_gen1_h2c_cmd' [-Wmissing-prototypes] In fact, this function is only used

Re: [PATCH net-next] tcp: add tcp_add_backlog()

2016-08-27 Thread Yuchung Cheng
On Sat, Aug 27, 2016 at 7:37 AM, Eric Dumazet wrote: > > From: Eric Dumazet > > When TCP operates in lossy environments (between 1 and 10 % packet > losses), many SACK blocks can be exchanged, and I noticed we could > drop them on busy senders, if these SACK blocks have to be queued > into the so

Re: [PATCH] bridge: Fix format string for %ul

2016-08-27 Thread Oleg Drokin
On Aug 27, 2016, at 11:13 AM, Sergei Shtylyov wrote: > Hello. > > On 8/27/2016 6:10 AM, Oleg Drokin wrote: > >> %ul would print an unsigned value and a letter l, >> likely it was %lu that was meant to print the long int, >> but in reality the values printed there are just regular signed > >

Re: [PATCH] smc91x: remove ARM hack for unaligned 16-bit writes

2016-08-27 Thread Russell King - ARM Linux
On Sat, Aug 27, 2016 at 05:30:42PM +0200, Robert Jarzmik wrote: > Hi Russell, > > With your patch : > - lubbock, mainstone and zylonite boards are working correctly >=> ie. all my boards are working correctly > > - the message "ifconfig: SIOCSIFHWADDR: Device or resource busy" is still > t

Re: [PATCH] smc91x: remove ARM hack for unaligned 16-bit writes

2016-08-27 Thread Robert Jarzmik
Russell King - ARM Linux writes: > On Thu, Aug 25, 2016 at 08:02:35PM +0200, Robert Jarzmik wrote: >> Arnd Bergmann writes: >> >> > On Thursday, August 25, 2016 4:43:04 PM CEST Arnd Bergmann wrote: >> >> drivers/net/ethernet/smsc/smc91x.h | 50 >> >> +++--- >> >

Re: [RFC v2 00/10] Landlock LSM: Unprivileged sandboxing (cgroup delegation)

2016-08-27 Thread Mickaël Salaün
Cc Tejun and the cgroups ML. On 27/08/2016 17:10, Mickaël Salaün wrote: > On 27/08/2016 09:40, Andy Lutomirski wrote: >> On Thu, Aug 25, 2016 at 3:32 AM, Mickaël Salaün wrote: >>> >>> # Sandbox example with conditional access control depending on cgroup >>> >>> $ mkdir /sys/fs/cgroup/sandboxed

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

2016-08-27 Thread Sergei Shtylyov
Hello. On 8/27/2016 4:05 PM, Eli Cooper wrote: According to RFC 1885 2.2(c), the source address of ICMPv6 errors in response to forwarded packets should be set to the unicast address of the forwarding interface in order to be helpful in diagnosis. Currently the selection of source address is ba

Re: [PATCH] bridge: Fix format string for %ul

2016-08-27 Thread Sergei Shtylyov
Hello. On 8/27/2016 6:10 AM, Oleg Drokin wrote: %ul would print an unsigned value and a letter l, likely it was %lu that was meant to print the long int, but in reality the values printed there are just regular signed Signed? Then you need probably "%d" or "%i"... ints, so just dropping

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 09:40, 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 >> policies. The goal of

[PATCH net-next] tcp: add tcp_add_backlog()

2016-08-27 Thread Eric Dumazet
From: Eric Dumazet When TCP operates in lossy environments (between 1 and 10 % packet losses), many SACK blocks can be exchanged, and I noticed we could drop them on busy senders, if these SACK blocks have to be queued into the socket backlog. While the main cause is the poor performance of RACK

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 01:05, Alexei Starovoitov wrote: > On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: > >>> As far as safety and type checking that bpf programs has to do, >>> I like the approach of patch 06/10: >>> +LANDLOCK_HOOK2(file_open, FILE_OPEN, >>> + PTR_TO_STRUCT_FILE, s

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 01:05, Alexei Starovoitov wrote: > On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: >> To sum up, there is four related patchsets: >> * "Landlock LSM: Unprivileged sandboxing" (this series) >> * "Add Checmate, BPF-driven minor LSM" (Sargun Dhillon) >> * "Networking cgr

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

2016-08-27 Thread Mickaël Salaün
On 27/08/2016 01:05, Alexei Starovoitov wrote: > On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: >> >>> >>> - I don't think such 'for' loop can scale. The solution needs to work >>> with thousands of containers and thousands of cgroups. >>> In the patch 06/10 the proposal is to use

Re: [RFC v2 08/10] landlock: Handle file system comparisons

2016-08-27 Thread Mickaël Salaün
On 26/08/2016 16:57, Andy Lutomirski wrote: > On Thu, Aug 25, 2016 at 7:10 AM, Mickaël Salaün wrote: >> >> On 25/08/2016 13:12, Andy Lutomirski wrote: >>> On Thu, Aug 25, 2016 at 3:32 AM, Mickaël Salaün wrote: Add eBPF functions to compare file system access with a Landlock file system

Re: [PATCH] ath10k: fix spelling mistake "montior" -> "monitor"

2016-08-27 Thread Julian Calaby
Hi All, On Sat, Aug 27, 2016 at 4:08 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in ath10k_warn message. > > Signed-off-by: Colin Ian King Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com

Re: [PATCH v3 0/6] Add eBPF hooks for cgroups

2016-08-27 Thread Rami Rosen
Hi Daniel, I don't see the cgroups mailing list address in the cc list. Since this patch is related also to the cgroups subsystem, I would suggest that going forward you will cc also cgro...@vger.kernel.org to future patches related to cgroups. (I hope this won't cause exceeding the max cc list len

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

2016-08-27 Thread Eli Cooper
According to RFC 1885 2.2(c), the source address of ICMPv6 errors in response to forwarded packets should be set to the unicast address of the forwarding interface in order to be helpful in diagnosis. Currently the selection of source address is based on the default route, without respect to the in

Re: [PATCH] [v9] net: emac: emac gigabit ethernet controller driver

2016-08-27 Thread Timur Tabi
David Miller wrote: From: Timur Tabi Date: Thu, 25 Aug 2016 16:39:03 -0500 +static const u8 duuid[] = { + 0x77, 0x79, 0x60, 0xbf, + 0x2d, 0xab, + 0x9d, 0x4b, + 0x94, 0xf0, + 0xe1, 0x11, 0x98, 0x01, 0xa2, 0xba +}; This seems to be completely unused, please remove

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

2016-08-27 Thread Jakub Kicinski
On Fri, 26 Aug 2016 16:29:05 -0700, Alexei Starovoitov wrote: > On Fri, Aug 26, 2016 at 07:06:06PM +0100, Jakub Kicinski wrote: > > Advanced JIT compilers and translators may want to use > > eBPF verifier as a base for parsers or to perform custom > > checks and validations. > > > > Add ability fo

Re: [PATCH 1/2] smc91x: always use 8-bit access if necessary

2016-08-27 Thread kbuild test robot
Hi Arnd, [auto build test WARNING on net-next/master] [also build test WARNING on v4.8-rc3 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 recor

Re: kernel BUG at net/unix/garbage.c:149!"

2016-08-27 Thread Miklos Szeredi
On Wed, Aug 24, 2016 at 11:40 PM, Hannes Frederic Sowa wrote: > On 24.08.2016 16:24, Nikolay Borisov wrote: >> Hello, >> >> I hit the following BUG: >> >> [1851513.239831] [ cut here ] >> [1851513.240079] kernel BUG at net/unix/garbage.c:149! >> [1851513.240313] invalid opc

Re: [PATCH net-next v1] gso: Support partial splitting at the frag_list pointer

2016-08-27 Thread Shmulik Ladkani
Hi, On Fri, 26 Aug 2016 13:45:56 -0700 Alexander Duyck wrote: > > However, if TSO is off, but GSO is on, who takes care of further > > splitting these skbs according to their gso_size? > > I believe the patch resolves it via the net_gso_ok check. This is > used to verify if the lower device

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

2016-08-27 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 Module (LSM) calle

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

2016-08-27 Thread Andy Lutomirski
On Aug 27, 2016 1:05 AM, "Alexei Starovoitov" wrote: > > On Fri, Aug 26, 2016 at 05:10:40PM +0200, Mickaël Salaün wrote: > > > > trimming cc list again. When it's too big vger will consider it as spam. > > > On 26/08/2016 04:14, Alexei Starovoitov wrote: > > > On Thu, Aug 25, 2016 at 12:32:44PM +0

[net-next PATCH] e1000: add initial XDP support

2016-08-27 Thread John Fastabend
From: Alexei Starovoitov This patch adds initial support for XDP on e1000 driver. Note e1000 driver does not support page recycling in general which could be added as a further improvement. However for XDP_DROP and XDP_XMIT the xdp code paths will recycle pages. This patch includes the rcu_read_

Re: [PATCH 3/5] rxrpc: fix last_call processing

2016-08-27 Thread David Howells
Arnd Bergmann wrote: > A change to the retransmission handling in rxrpc caused a use-before-init > bug in rxrpc_data_ready(), as indicated by "gcc -Wmaybe-uninitialized": > > net/rxrpc/input.c: In function 'rxrpc_data_ready': > net/rxrpc/input.c:735:34: error: 'call' may be used uninitialized in