Hi all,
Today's linux-next merge of the char-misc tree got a conflict in:
include/linux/hyperv.h
between commit:
30d1de08c87d ("hv_netvsc: make inline functions static")
from the net-next tree and commit:
bb08d431a914 ("Drivers: hv: ring_buffer: count on wrap around mappings in
get_nex
On Sun, Sep 4, 2016 at 9:19 PM, Rosen, Rami wrote:
> Hi, Hadar,
>
>>For example, the following flower filter will forward all ICMP packets
>>destined to 11.11.11.2 >through the shared vxlan device 'vxlan0'. Before
>>redirecting, a metadata for the vxlan tunnel >is created using the tunnel_key
>
There is a code path where we are calling __iowrite64_copy() on
an address that is not 64-bit aligned. This causes an exception on
some architectures such as arm64. Fix that code path by using
__iowrite32_copy().
Reported-by: JD Zheng
Signed-off-by: Michael Chan
---
Please consider this for s
On Mon, Sep 05, 2016 at 06:38:21AM +0200, Christophe JAILLET wrote:
> Le 04/09/2016 à 20:23, Leon Romanovsky a écrit :
> >On Sun, Sep 04, 2016 at 05:57:20PM +0200, Christophe JAILLET wrote:
> >>Le 04/09/2016 à 14:20, Leon Romanovsky a écrit :
> >>>On Sat, Sep 03, 2016 at 07:33:29AM +0200, Christoph
Commit 76174004a0f19785a328f40388e87e982bbf69b9
(tcp: do not slow start when cwnd equals ssthresh )
introduced regression in TCP YeAH. Using 100ms delay 1% loss virtual
ethernet link kernel 4.2 shows bandwidth ~500KB/s for single TCP
connection and kernel 4.3 and above (including 4.8-rc4) shows
SCTP module was not load by default. But this should be OK since we will not
load table if fdopen() failed, also opening the proc file won't load SCTP
kernel module.
Signed-off-by: Hangbin Liu
---
misc/nstat.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/misc/nstat.c b
2016-09-02 18:09 GMT+08:00 Phil Sutter :
> Did you forget to add the load call to update_db(), or am I missing
> something?
Opps, forgot to add it there. I will send patchv2 for this issue.
Thanks
Hangbin
> Apart from that, looks nice and clean.
>
> Cheers, Phil
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/net/ethernet/mediatek/mtk_eth_soc.c
between commits:
d3bd1ce4db8e ("net: ethernet: mediatek: remove redundant free_irq for
devm_request_irq allocated irq")
7c6b0d76fa02 ("net: ethernet: mediatek: fix logic u
Hi Martin,
[auto build test ERROR on next-20160825]
[also build test ERROR on v4.8-rc5]
[cannot apply to robh/for-next net-next/master net/master v4.8-rc4 v4.8-rc3
v4.8-rc2]
[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
Hi Martin,
[auto build test ERROR on next-20160825]
[also build test ERROR on v4.8-rc5]
[cannot apply to robh/for-next net-next/master net/master v4.8-rc4 v4.8-rc3
v4.8-rc2]
[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
When deleting an IP address from an interface, there is a clean-up of
routes which refer to this local address. However, there was no check to
see that the VRF matched. This meant that deletion wasn't confined to
the VRF it should have been.
To solve this, a new field has been added to fib_info to
These messages are unnecessary as OOM allocation failures already do
a dump_stack() giving more or less the same information.
$ size drivers/net/ethernet/qlogic/qed/built-in.o* (defconfig x86-64)
textdata bss dec hex filename
127817 27969 32800 188586 2e0aa
drivers/net/
On Sun, 2016-09-04 at 13:28 -0700, David Miller wrote:
> From: Joe Perches
> Date: Fri, 2 Sep 2016 10:48:47 -0700
>
> > These messages are unnecessary as OOM allocation failures already do
> > a dump_stack() giving more or less the same information.
> >
> > $ size drivers/net/ethernet/qlogic/qe
From: Bhaktipriya Shridhar
The workqueue "afs_vlocation_update_worker" queues a single work item
&afs_vlocation_update and hence it doesn't require execution ordering.
Hence, alloc_workqueue has been used to replace the deprecated
create_singlethread_workqueue instance.
Since the workqueue is be
Create a random epoch value rather than a time-based one on startup and set
the top bit to indicate that this is the case.
Also create a random starting client connection ID value. This will be
incremented from here as new client connections are created.
Signed-off-by: David Howells
---
inclu
From: Bhaktipriya Shridhar
The workqueue "afs_async_calls" queues work item
&call->async_work per afs_call. Since there could be multiple calls and since
these calls can be run concurrently, alloc_workqueue has been used to replace
the deprecated create_singlethread_workqueue instance.
The WQ_ME
From: Bhaktipriya Shridhar
The workqueue "afs_callback_update_worker" queues multiple work items
viz &vnode->cb_broken_work, &server->cb_break_work which require strict
execution ordering. Hence, an ordered dedicated workqueue has been used.
Since the workqueue is being used on a memory reclaim
It seems the local epoch should only be changed on boot, so remove the code
that changes it for client connections.
Signed-off-by: David Howells
---
net/rxrpc/conn_client.c | 32
1 file changed, 8 insertions(+), 24 deletions(-)
diff --git a/net/rxrpc/conn_cli
From: Bhaktipriya Shridhar
The workqueue "afs_lock_manager" queues work item &vnode->lock_work,
per vnode. Since there can be multiple vnodes and since their work items
can be executed concurrently, alloc_workqueue has been used to replace
the deprecated create_singlethread_workqueue instance.
T
Split the sendmsg code from the packet transmission code (mostly to be
found in output.c).
Signed-off-by: David Howells
---
net/rxrpc/Makefile |1
net/rxrpc/ar-internal.h |9 -
net/rxrpc/misc.c|5
net/rxrpc/output.c | 630
Move enum rxrpc_command to sendmsg.c as it's now only used in that file.
Signed-off-by: David Howells
---
net/rxrpc/ar-internal.h |7 ---
net/rxrpc/sendmsg.c |7 +++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-interna
We must set the client call state to RXRPC_CALL_CLIENT_SEND_REQUEST before
attaching the call to the connection struct, not after, as it's liable to
receive errors and conn aborts as soon as the assignment is made - and
these will cause its state to be changed outside of the initiating thread's
con
Rearrange net/rxrpc/sendmsg.c to be in a more logical order. This makes it
easier to follow and eliminates forward declarations.
Signed-off-by: David Howells
---
net/rxrpc/sendmsg.c | 1006 +--
1 file changed, 501 insertions(+), 505 deletions(-)
nux-fs.git
rxrpc-rewrite-20160904-2
David
---
David Howells (3):
rxrpc: Split sendmsg from packet transmission code
rxrpc: Rearrange net/rxrpc/sendmsg.c
rxrpc Move enum rxrpc_command to sendmsg.c
net/rxrpc/Makefile |1
net/rxrpc/ar-internal.h | 16 -
net/rx
From: Arnd Bergmann
gcc -Wmaybe-initialized correctly points out a newly introduced bug
through which we can end up calling rxrpc_queue_call() for a dead
connection:
net/rxrpc/call_object.c: In function 'rxrpc_mark_call_released':
net/rxrpc/call_object.c:600:5: error: 'sched' may be used uniniti
Fix the following uninitialised variable warning:
../net/rxrpc/call_event.c: In function 'rxrpc_process_call':
../net/rxrpc/call_event.c:879:58: warning: 'error' may be used uninitialized in
this function [-Wmaybe-uninitialized]
_debug("post net error %d", error);
nux/kernel/git/dhowells/linux-fs.git
rxrpc-rewrite-20160904-1
David
---
Arnd Bergmann (1):
rxrpc: fix undefined behavior in rxrpc_mark_call_released
Bhaktipriya Shridhar (4):
fs/afs/vlocation: Remove deprecated create_singlethread_workqueue
fs/afs/rxrpc: Remove
From: Linus Torvalds
Date: Fri, 2 Sep 2016 11:13:09 -0700 (PDT)
>
> From: Linus Torvalds
> Date: Thu, 1 Sep 2016 14:43:53 -0700
> Subject: [PATCH 2/2] af_unix: split 'u->readlock' into two: 'iolock' and
> 'bindlock'
>
> Right now we use the 'readlock' both for protecting some of the af_unix
>
From: Linus Torvalds
Date: Fri, 2 Sep 2016 11:09:23 -0700 (PDT)
>
> From: Linus Torvalds
> Date: Thu, 1 Sep 2016 14:56:49 -0700
> Subject: [PATCH 1/2] Revert "af_unix: Fix splice-bind deadlock"
>
> This reverts commit c845acb324aa85a39650a14e7696982ceea75dc1.
>
> It turns out that it just rep
From: Joe Perches
Date: Fri, 2 Sep 2016 10:48:47 -0700
> These messages are unnecessary as OOM allocation failures already do
> a dump_stack() giving more or less the same information.
>
> $ size drivers/net/ethernet/qlogic/qed/built-in.o* (defconfig x86-64)
>text data bss
Le 02/09/2016 à 19:24, Cong Wang a écrit :
> On Fri, Sep 2, 2016 at 9:39 AM, Cong Wang wrote:
>> On Fri, Sep 2, 2016 at 1:12 AM, Nicolas Dichtel
>> wrote:
>>> Le 02/09/2016 à 06:53, Cong Wang a écrit :
We never read or change netns id in hardirq context,
the only place we read netns id
From: Paul Burton
Date: Fri, 2 Sep 2016 15:22:48 +0100
> cpmac_start_xmit() used the max() macro on skb->len (an unsigned int)
> and ETH_ZLEN (a signed int literal). This led to the following compiler
> warning:
>
> In file included from include/linux/list.h:8:0,
>from incl
From: Paul Burton
Date: Fri, 2 Sep 2016 15:26:54 +0100
> Commit e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
> removed the only use of the 'i' variable from ltq_etop_mdio_init() but
> left the variable declaration behind, leading to the following compiler
> warning:
>
> drive
From: Zubair Lutfullah Kakakhel
Date: Fri, 2 Sep 2016 12:39:24 +0100
> A couple of simple patches to generate the random mac address
> if none is found. And enabling the driver for mips.
>
> Based on v4.8-rc4.
>
> These were part of a larger series but that series is growing
> wildly. Splitting
From: Hariprasad Shenai
Date: Fri, 2 Sep 2016 19:13:53 +0530
> Adds support for ndo_get_vf_config, also fill the default mac address
> that will be provided to the VF by firmware, in case user doesn't
> provide one. So user can get the default MAC address address also
> through ndo_get_vf_config
From: Jiri Benc
Date: Fri, 2 Sep 2016 13:37:10 +0200
> This patchset improves checking for invalid configuration in VXLAN and fixes
> problems with duplicated and inappropriate error messages.
Series applied, thanks.
From: Mahesh Bandewar
Date: Thu, 1 Sep 2016 22:18:34 -0700
> From: Mahesh Bandewar
>
> Following few steps will crash kernel -
>
> (a) Create bonding master
> > modprobe bonding miimon=50
> (b) Create macvlan bridge on eth2
> > ip link add link eth2 dev mvl0 address aa:0:0:0:0
Series applied.
From: Joe Stringer
Date: Thu, 1 Sep 2016 18:01:47 -0700
> When an error occurs during conntrack template creation as part of
> actions validation, we need to free the template. Previously we've been
> using nf_ct_put() to do this, but nf_ct_tmpl_free() is more appropriate.
>
> Signed-off-by: Jo
The Ethernet controller available in Meson8b and GXBB SoCs is a Synopsys
DesignWare MAC IP core which is already supported by the stmmac driver.
In addition to the standard stmmac driver some Meson8b / GXBB specific
registers have to be configured for the PHY clocks. These SoC specific
registers a
This patch adds the documentation for the DWMAC ethernet controller
found in Amlogic Meson 8b (S805) and GXBB (S905) SoCs.
The main difference between the Meson6 glue is that different registers
(with different layout) are used.
Signed-off-by: Martin Blumenstingl
Acked-by: Rob Herring
Acked-by:
On Sun, Sep 04, 2016 at 05:57:20PM +0200, Christophe JAILLET wrote:
> Le 04/09/2016 à 14:20, Leon Romanovsky a écrit :
> >On Sat, Sep 03, 2016 at 07:33:29AM +0200, Christophe JAILLET wrote:
> >>Calling 'list_splice' followed by 'INIT_LIST_HEAD' is equivalent to
> >>'list_splice_init'.
> >It is not
This exposes the MPLL2 clock as this is one of the input clocks of the
ethernet controller's internal mux.
Signed-off-by: Martin Blumenstingl
---
drivers/clk/meson/gxbb.h | 2 +-
include/dt-bindings/clock/gxbb-clkc.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
The Amlogic reference driver uses the "mc_val" devicetree property to
configure the PRG_ETHERNET_ADDR0 register. Unfortunately it uses magic
values for this configuration.
According to the datasheet the PRG_ETHERNET_ADDR0 register is at address
0xc8834108. However, the reference driver uses 0xc8834
This adds a DWMAC glue driver for the PRG_ETHERNET registers found in
Meson8b and GXBB SoCs. Based on the "old" meson6b-dwmac glue driver
the register layout is completely different.
Thus I introduced a separate driver.
Changes since v3:
- remove (unnecessary) usage of CLK_IS_BASIC flag
- use WAR
From: Joachim Eastwood
Create a helper to retrive dwmac private data from a dev
pointer. This is useful in PM callbacks and driver remove.
Signed-off-by: Joachim Eastwood
Tested-by: Martin Blumenstingl
Acked-by: David S. Miller
---
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h | 8 ++
On Tue, Aug 30, 2016 at 9:19 PM, Stephen Boyd wrote:
>> + return PTR_ERR(dwmac->m250_mux_clk);
>> +
>> + /* create the m250_div */
>> + snprintf(clk_name, sizeof(clk_name), "%s#m250_div", dev_name(dev));
>> + init.name = devm_kstrdup(dev, clk_name, GFP_KERNEL);
>> + ini
Hi, Hadar,
>For example, the following flower filter will forward all ICMP packets
>destined to 11.11.11.2 >through the shared vxlan device 'vxlan0'. Before
>redirecting, a metadata for the vxlan tunnel >is created using the tunnel_key
>action and it's arguments:
Shouldn't it be "tc filter add
The build of m32r was giving warning:
In file included from drivers/net/ethernet/smsc/smc91x.c:92:0:
drivers/net/ethernet/smsc/smc91x.h:448:0: warning: "SMC_inb" redefined
#define SMC_inb(ioaddr, reg) ({ BUG(); 0; })
drivers/net/ethernet/smsc/smc91x.h:106:0:
note: this is the location
I'm still struggling to get this fix right..
Changes since v2:
- do not blindly modify SKB contents according to Dave's legitimate
objection
Changes since v1:
- dropped disabling HW checksum offload for Zynq
- initialize checksum similar to net/ethernet/freescale/fec_main.c
-- >8 --
MACB/G
Le 04/09/2016 à 14:20, Leon Romanovsky a écrit :
On Sat, Sep 03, 2016 at 07:33:29AM +0200, Christophe JAILLET wrote:
Calling 'list_splice' followed by 'INIT_LIST_HEAD' is equivalent to
'list_splice_init'.
It is not 100% accurate
list_splice(y, z)
INIT_LIST_HEAD(y)
==>
if (!list_empty(y))
On Sun, 4 Sep 2016 18:52:51 +0800, Haishuang Yan wrote:
> If vxlan_build_skb return err < 0, tx_errors should be also increased.
>
> Signed-off-by: Haishuang Yan
> ---
> drivers/net/vxlan.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
> ind
Hi Amir,
[auto build test WARNING on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Hadar-Hen-Zion/net-sched-ip-tunnel-metadata-set-release-classify-by-using-TC/20160904-185825
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1
On Sat, 3 Sep 2016 22:07:10 +0800, zyjzyj2...@gmail.com wrote:
> From: Zhu Yanjun
>
> The struct nlattr variable should not be changed.
True. But the only caller is vxlan_fdb_parse which doesn't have its tb
parameter const, so what's the point?
Now, the tb parameter of vxlan_fdb_parse could be
On Sun, Sep 4, 2016 at 2:14 PM, Sergei Shtylyov
wrote:
> Hello.
>
>
> On 9/4/2016 1:55 PM, Hadar Hen Zion wrote:
>
>> From: Amir Vadai
>>
>> Extract __ip_tun_set_dst() and __ipv6_tun_set_dst() out of
>> ip_tun_rx_dst() and ipv6_tun_rx_dst(), to be used without supplying an
>> skb.
>>
>> Signed-of
On Sat, Sep 03, 2016 at 07:33:29AM +0200, Christophe JAILLET wrote:
> Calling 'list_splice' followed by 'INIT_LIST_HEAD' is equivalent to
> 'list_splice_init'.
It is not 100% accurate
list_splice(y, z)
INIT_LIST_HEAD(y)
==>
if (!list_empty(y))
__list_splice(y, z, z>next);
INIT_LIST_HEAD(y)
On Sun, 4 Sep 2016 13:55:55 +0300, had...@mellanox.com wrote:
> From: Amir Vadai
>
> This action could be used before redirecting packets to a shared tunnel
> device, or when redirecting packets arriving from a such a device.
>
> The action will release the metadata created by the tunnel device
Hello.
On 9/4/2016 1:55 PM, Hadar Hen Zion wrote:
From: Amir Vadai
Extract __ip_tun_set_dst() and __ipv6_tun_set_dst() out of
ip_tun_rx_dst() and ipv6_tun_rx_dst(), to be used without supplying an
skb.
Signed-off-by: Amir Vadai
Signed-off-by: Hadar Hen Zion
Acked-by: Jiri Pirko
Reviewed-b
In case of inter address family tunneling (IPv6 over vti4 or IPv4 over
vti6), the inbound policy checks in vti_rcv_cb and vti6_rcv_cb are using
the wrong address family. As a result, all inbound inter address family
traffic is dropped.
Use the xfrm_ip2inner_mode helper (as done in xfrm_prepare_inp
On Sat, 3 Sep 2016 13:30:12 -0400, Eric Garver wrote:
> Would a BUG_ON(!(encap && in_encap)) be better?
Please don't crash the kernel for something that could very well
continue without problems. Use WARN_ON at most.
And if you go that way, WARN_ON_ONCE or rate limiting seems to be even
more appr
If vxlan_build_skb return err < 0, tx_errors should be also increased.
Signed-off-by: Haishuang Yan
---
drivers/net/vxlan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index f605a36..2c72dcd 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxla
From: Amir Vadai
Introduce classifying by metadata extracted by the tunnel device.
Outer header fields - source/dest ip and tunnel id, are extracted from
the metadata when classifying.
For example, the following will add a filter on the ingress Qdisc of shared
vxlan device named 'vxlan0'. To for
Hi,
This patchset introduces ip tunnel manipulation support using the TC subsystem.
In the decap flow, it enables the user to redirect packets from a shared tunnel
device and classify by outer and inner headers. The outer headers are extracted
from the metadata and used by the flower filter. A ne
From: Amir Vadai
This action could be used before redirecting packets to a shared tunnel
device, or when redirecting packets arriving from a such a device.
The action will release the metadata created by the tunnel device
(decap), or set the metadata with the specified values for encap
operation
From: Amir Vadai
Extract __ip_tun_set_dst() and __ipv6_tun_set_dst() out of
ip_tun_rx_dst() and ipv6_tun_rx_dst(), to be used without supplying an
skb.
Signed-off-by: Amir Vadai
Signed-off-by: Hadar Hen Zion
Acked-by: Jiri Pirko
Reviewed-by: Shmulik Ladkani
---
include/net/dst_metadata.h |
From: Amir Vadai
Add utility functions to convert a 32 bits key into a 64 bits tunnel and
vice versa.
These functions will be used instead of cloning code in GRE and VXLAN,
and in tc act_iptunnel which will be introduced in a following patch in
this patchset.
Signed-off-by: Amir Vadai
Signed-of
"Michael S. Tsirkin" wrote on 10/08/2014 10:45:59 PM:
> From: "Michael S. Tsirkin"
> To: Razya Ladelsky/Haifa/IBM@IBMIL,
> Cc: k...@vger.kernel.org, Alex Glikson/Haifa/IBM@IBMIL, Eran
> Raichstein/Haifa/IBM@IBMIL, Yossi Kuperman1/Haifa/IBM@IBMIL, Joel
> Nider/Haifa/IBM@IBMIL, abel.gor...@gmai
> These messages are unnecessary as OOM allocation failures already do a
> dump_stack() giving more or less the same information.
>
> $ size drivers/net/ethernet/qlogic/qed/built-in.o* (defconfig x86-64)
>text data bss dec hex filename
> 126849 27968 32800 187
68 matches
Mail list logo