On Tue, Oct 03, 2017 at 02:03:37AM +0900, Lorenzo Colitti wrote:
> iproute2 contains a bunch of kernel headers, including uapi ones.
> Android's libc uses uapi headers almost directly, and uses a
> script to fix kernel types that don't match what userspace
> expects.
>
> For example: https://issuet
Hi Johannes,
Thanks for your time on reviewing this. I will make changes following
your review. See details below.
By the way, I'm still struggling on how to run unit tests. It might
take time for me to make it run on my machine.
2017-10-02 8:04 GMT-04:00 Johannes Berg :
> Please use "v2" tag or
On 10/05/2017 03:09 PM, Nikolay Aleksandrov wrote:
> On 05/10/17 13:36, Jiri Pirko wrote:
>> From: Yotam Gigi
>>
>> Every bridge port is in one of four mcast router port states:
>> - MDB_RTR_TYPE_PERM - the port is set by the user to be an mrouter port
>>regardless of IGMP queries.
>> - MDB_
inet6_ifa_finish_destroy() already uses kfree_rcu() to free
inet6_ifaddr structs.
We need to use proper list additions/deletions in order
to allow readers to use RCU instead of idev->lock rwlock.
Signed-off-by: Eric Dumazet
---
net/ipv6/addrconf.c | 21 ++---
1 file changed, 6 i
Signed-off-by: Eric Dumazet
---
net/ipv6/addrconf.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index
33ee84c2512b50e316a0a6ed38a604a382ce5319..ea63442209bf268f1a19b5e014cb8c7e34fd40b4
100644
--- a/net/ipv6/addrconf.c
+++
By extending the rcu section a bit, we can avoid these
very expensive in6_ifa_put()/in6_ifa_hold() calls
done in __ipv6_dev_get_saddr() and ipv6_dev_get_saddr()
Signed-off-by: Eric Dumazet
---
net/ipv6/addrconf.c | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --gi
Signed-off-by: Eric Dumazet
---
net/ipv6/addrconf.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index
2e029c8be1f2e2746e804a47bb5a3eb632adaa5d..33ee84c2512b50e316a0a6ed38a604a382ce5319
100644
--- a/net/ipv6/addrconf.c
+++
Callers hold rcu_read_lock(), so we do not need
the rcu_read_lock()/rcu_read_unlock() pair.
Signed-off-by: Eric Dumazet
---
net/ipv6/addrconf.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index
ea63442209bf268f1a19b5e014cb8c7e
Signed-off-by: Eric Dumazet
---
net/ipv6/addrconf.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index
d1ff0955b709eaa6b5d94bd8d740334eb1eed6d7..2e029c8be1f2e2746e804a47bb5a3eb632adaa5d
100644
--- a/net/ipv6/addrconf.
Sending IPv6 udp packets on non connected sockets is quite slow,
because ipv6_dev_get_saddr() is still using an rwlock and silly
references games on ifa.
Tested:
$ ./super_netperf 16 -H ::555:0786 -l 2000 -t UDP_STREAM -- -m 100 &
[1] 12527
Performance is boosted from 2.02 Mpps to 4.28 Mpps
From: Martin KaFai Lau
Date: Thu, 5 Oct 2017 21:52:10 -0700
> The first two patches make improvements on the bpf obj name.
>
> The last patch adds the prog name to kallsyms.
Series applied, thanks Martin.
From: Alexei Starovoitov
Date: Thu, 5 Oct 2017 16:20:56 -0700
> while processing Rx = Ry instruction the verifier does
> regs[insn->dst_reg] = regs[insn->src_reg]
> which often clears write mark (when Ry doesn't have it)
> that was just set by check_reg_arg(Rx) prior to the assignment.
> That cau
From: Jiri Pirko
Date: Thu, 5 Oct 2017 23:39:58 +0200
> From: Jiri Pirko
>
> Ido says:
>
> Add error messages to VLAN and bridge enslavements to help users
> understand why the enslavement failed.
For some reason patch #2 didn't make it to the list and patchwork,
could you please resend (and
From: Patrick Talbert
Date: Thu, 5 Oct 2017 16:23:45 -0400
> Network performance can suffer when a load balancing bond uses slave
> interfaces which are in different NUMA domains.
>
> This compares the NUMA domain of a newly enslaved interface against any
> existing enslaved interfaces and prin
From: Axel Beckert
Date: Thu, 5 Oct 2017 22:00:33 +0200
> Should be "802.3ad" like everywhere else in the document.
>
> Signed-off-by: Axel Beckert
Applied.
Buffer length passed into this hook is always IFNAMSIZ which is 16.
Code savings on x86_64:
add/remove: 0/0 grow/shrink: 1/9 up/down: 2/-45 (-43)
function old new delta
rocker_cmd_get_port_settings_phys_name_proc 179 181
From: William Tu
Date: Thu, 5 Oct 2017 12:07:12 -0700
> Similarly to early patch for erspan_xmit(), the ARPHDR_ETHER device
> is the length of the whole ether packet. So skb->len should subtract
> the dev->hard_header_len.
>
> Fixes: 1a66a836da63 ("gre: add collect_md mode to ERSPAN tunnel")
>
From: Lin Zhang
Date: Fri, 6 Oct 2017 01:40:35 +0800
> The phonet_protocol structs don't need to be written by anyone and
> so can be marked as const.
>
> Signed-off-by: Lin Zhang
Applied.
From: Lin Zhang
Date: Fri, 6 Oct 2017 01:37:29 +0800
> Signed-off-by: Lin Zhang
Applied.
From: Matteo Croce
Date: Thu, 5 Oct 2017 19:03:05 +0200
> Commit 35e015e1f577 ("ipv6: fix net.ipv6.conf.all interface DAD handlers")
> was intended to affect accept_dad flag handling in such a way that
> DAD operation and mode on a given interface would be selected
> according to the maximum val
From: Yonghong Song
Date: Thu, 5 Oct 2017 09:19:18 -0700
> Hardware pmu counters are limited resources. When there are more
> pmu based perf events opened than available counters, kernel will
> multiplex these events so each event gets certain percentage
> (but not 100%) of the pmu time. In case
From: Jiri Pirko
Date: Thu, 5 Oct 2017 12:36:36 +0200
> From: Jiri Pirko
>
> Yotam says:
>
> Similarly to a bridged port, the bridge device itself can be configured by
> the user to be an mrouter port. In this case, all multicast traffic should
> be forwarded to it. Make the mlxsw Spectrum dr
From: Amine Kherbouche
Date: Wed, 4 Oct 2017 19:35:57 +0200
> This commit introduces the MPLSoGRE support (RFC 4023), using ip tunnel
> API by simply adding ipgre_tunnel_encap_(add|del)_mpls_ops() and the new
> tunnel type TUNNEL_ENCAP_MPLS.
>
> Signed-off-by: Amine Kherbouche
Applied, thanks
From: 吉藤英明
Date: Sat, 7 Oct 2017 18:25:13 +0900
> Hi,
>
> 2017-10-07 8:49 GMT+09:00 Eric Dumazet :
>> On Fri, 2017-10-06 at 12:05 -0700, Wei Wang wrote:
>>> From: Wei Wang
>>>
>>> Currently, fib6 table is protected by rwlock. During route lookup,
>>> reader lock is taken and during route insert
From: Sven Eckelmann
Date: Sat, 7 Oct 2017 14:21:22 +0200
> The parameter extack was added to batadv_softif_slave_add without adding
> the kernel-doc for it. This caused kernel-doc warnings.
>
> Signed-off-by: Sven Eckelmann
> Cc: David Ahern
I'm happy to apply this but where are the other t
On 2017-10-07 15:09, SviMik wrote:
Unfortunately, netconsole has managed to send a kernel panic trace
only once, and it's not related to this bug. Looks like something
crashes really hard to make netconsole unusable.
In some cases i had luck with pstore, when netconsole failed me
(especially ne
On 10/7/17 6:21 AM, Sven Eckelmann wrote:
> The parameter extack was added to batadv_softif_slave_add without adding
> the kernel-doc for it. This caused kernel-doc warnings.
>
> Signed-off-by: Sven Eckelmann
> Cc: David Ahern
> ---
> net/batman-adv/soft-interface.c | 1 +
> 1 file changed, 1 i
When a bundling message is received, the function tipc_link_input()
calls function tipc_msg_extract() to unbundle all inner messages of
the bundling message before adding them to input queue.
The function tipc_msg_extract() just clones all inner skb for all
inner messagges from the bundling skb. T
在 2017-10-05 14:58,Kalle Valo 写道:
Icenowy Zheng writes:
于 2017年10月4日 GMT+08:00 下午6:11:45, Maxime Ripard
写到:
On Wed, Oct 04, 2017 at 10:02:48AM +, Arend van Spriel wrote:
On 10/4/2017 11:03 AM, Icenowy Zheng wrote:
>
>
> 于 2017年10月4日 GMT+08:00 下午5:02:17, Kalle Valo
写到:
> > Icenowy Zhe
We change the initialization of the skb transmit buffer queues
in the functions tipc_bcast_xmit() and tipc_rcast_xmit() to also
initialize their spinlocks. This is needed because we may, during
error conditions, need to call skb_queue_purge() on those queues
further down the stack.
Signed-off-by:
于 2017年10月5日 GMT+08:00 下午2:58:01, Kalle Valo 写到:
>Icenowy Zheng writes:
>
>> 于 2017年10月4日 GMT+08:00 下午6:11:45, Maxime Ripard
>> 写到:
>>>On Wed, Oct 04, 2017 at 10:02:48AM +, Arend van Spriel wrote:
On 10/4/2017 11:03 AM, Icenowy Zheng wrote:
>
>
> 于 2017年10月4日 GMT+08:0
The parameter extack was added to batadv_softif_slave_add without adding
the kernel-doc for it. This caused kernel-doc warnings.
Signed-off-by: Sven Eckelmann
Cc: David Ahern
---
net/batman-adv/soft-interface.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/soft-interface.c
2017-10-06 12:52 GMT+03:00 James Chapman :
> On 6 October 2017 at 05:45, SviMik wrote:
>> 2017-10-04 10:49 GMT+03:00 James Chapman :
>>> On 3 October 2017 at 08:27, James Chapman wrote:
For capturing complete oops messages, have you tried setting up
netconsole? You might also find the f
Hi,
2017-10-07 8:49 GMT+09:00 Eric Dumazet :
> On Fri, 2017-10-06 at 12:05 -0700, Wei Wang wrote:
>> From: Wei Wang
>>
>> Currently, fib6 table is protected by rwlock. During route lookup,
>> reader lock is taken and during route insertion, deletion or
>> modification, writer lock is taken. This
On Sat, Oct 7, 2017 at 6:05 AM, Herbert Xu wrote:
> On Tue, Sep 05, 2017 at 03:38:40PM +0300, Gilad Ben-Yossef wrote:
>>
>> diff --git a/crypto/algif_hash.c b/crypto/algif_hash.c
>> index 5e92bd2..3b3c154 100644
>> --- a/crypto/algif_hash.c
>> +++ b/crypto/algif_hash.c
>> @@ -39,6 +39,20 @@ struct
35 matches
Mail list logo