RCU hang on 4.2-rc5

2015-08-08 Thread Steinar H. Gunderson
Hi, I have an issue with 4.2-rc5 where my machine hangs approximately once a day with RCU problems. I initially didn't think it was networking related, but the it seems to be (weakly) correlated with network activity, and there was IPv6 stuff in one of the backtraces, so I've reassigned to the

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-08 Thread Zang MingJie
Days ago I mistakenly set the gateway address on my box, then add the default router, after I deleted the address my box can't access Internet and all things looks fine. It takes me several hours to figure out it is an kernel bug. On Sat, Aug 8, 2015, 1:00 AM Hannes Frederic Sowa

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-08 Thread Arnd Bergmann
On Friday 07 August 2015 12:43:20 Robert Richter wrote: I would not pollute bgx_probe() with acpi and dt specifics, and instead keep bgx_init_phy(). The typical design pattern for this is: static int bgx_init_phy(struct bgx *bgx) { #ifdef CONFIG_ACPI if (!acpi_disabled)

Re: [PATCH v3 01/20] net/xen-netback: xenvif_gop_frag_copy: move GSO check out of the loop

2015-08-08 Thread Wei Liu
On Fri, Aug 07, 2015 at 05:46:40PM +0100, Julien Grall wrote: The skb doesn't change within the function. Therefore it's only necessary to check if we need GSO once at the beginning. Signed-off-by: Julien Grall julien.gr...@citrix.com Acked-by: Wei Liu wei.l...@citrix.com -- To unsubscribe

Re: [PATCH v3 18/20] net/xen-netback: Make it running on 64KB page granularity

2015-08-08 Thread Wei Liu
On Fri, Aug 07, 2015 at 05:46:57PM +0100, Julien Grall wrote: The PV network protocol is using 4KB page granularity. The goal of this patch is to allow a Linux using 64KB page granularity working as a network backend on a non-modified Xen. It's only necessary to adapt the ring size and break

[PATCH net-next] net: dsa: mv88e6352: Use mnemonics for EEPROM registers and bits

2015-08-08 Thread Andrew Lunn
Add register definitions #defines for accessing the EEPROM. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6352.c | 18 ++ drivers/net/dsa/mv88e6xxx.h | 8 ++-- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/drivers/net/dsa/mv88e6352.c

[PATCH net-next] dsa: Support multiple MDIO busses

2015-08-08 Thread Andrew Lunn
When using a cluster of switches, some topologies will have an MDIO bus per switch, not one for the whole cluster. Allow this to be represented in the device tree, by adding an optional mii-bus property at the switch level. The old platform_device method of instantiation supports this already, so

Re: [PATCH 1/2] netfilter: ip6t_SYNPROXY: fix NULL pointer dereference

2015-08-08 Thread Patrick McHardy
On 06.08, Phil Sutter wrote: This happens when networking namespaces are enabled. Thanks, just one minor request: synproxy_send_tcp(const struct sk_buff *skb, struct sk_buff *nskb, struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, struct ipv6hdr

Re: [PATCH net-next] net: dsa: mv88e6352: Use mnemonics for EEPROM registers and bits

2015-08-08 Thread Guenter Roeck
On 08/08/2015 08:04 AM, Andrew Lunn wrote: Add register definitions #defines for accessing the EEPROM. Signed-off-by: Andrew Lunn and...@lunn.ch Acked-by: Guenter Roeck li...@roeck-us.net -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

Re: rtnl_mutex deadlock?

2015-08-08 Thread Thomas Graf
On 08/07/15 at 08:00am, Herbert Xu wrote: On Fri, Aug 07, 2015 at 01:58:15AM +0200, Daniel Borkmann wrote: Looks like we had a WARN_ON() in rhashtable_insert_rehash() before, but was removed in a87b9ebf1709 (rhashtable: Do not schedule more than one rehash if we can't grow further). Do

Re: [PATCH net] netlink: make sure -EBUSY won't escape from netlink_insert

2015-08-08 Thread Thomas Graf
On 08/07/15 at 12:26am, Daniel Borkmann wrote: Linus reports the following deadlock on rtnl_mutex; triggered only once so far (extract): [...] Reference: http://thread.gmane.org/gmane.linux.network/372676 Reported-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Daniel

Re: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-08 Thread Florian Fainelli
CC'ing Stas, Le 08/05/15 07:42, Madalin Bucur a écrit : The FMan MAC configuration code needs the speed and duplex information for fixed-link interfaces that is parsed now by the of function of_phy_register_fixed_link(). This parses the fixed-link parameters but does not expose to the caller

Re: [PATCH net-next] dsa: Support multiple MDIO busses

2015-08-08 Thread Florian Fainelli
Le 08/08/15 08:09, Andrew Lunn a écrit : When using a cluster of switches, some topologies will have an MDIO bus per switch, not one for the whole cluster. Allow this to be represented in the device tree, by adding an optional mii-bus property at the switch level. The old platform_device

Re: [v2 2/9] dpaa_eth: add support for DPAA Ethernet

2015-08-08 Thread Florian Fainelli
Le 08/05/15 08:41, Madalin Bucur a écrit : This introduces the Freescale Data Path Acceleration Architecture (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, BMan, PAMU and FMan drivers to deliver Ethernet connectivity on the Freescale DPAA QorIQ platforms. Signed-off-by:

[patch 1/2 -mainline] cxgb4: missing curly braces in t4_setup_debugfs()

2015-08-08 Thread Dan Carpenter
There were missing curly braces so it means we call add_debugfs_mem() unintentionally. Fixes: 3ccc6cf74d8c ('cxgb4: Adds support for T6 adapter') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c

[patch 2/2] cxgb4: cleanup some indenting

2015-08-08 Thread Dan Carpenter
Add or remove some tabs so that statements line up correctly. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c index 9e0b670..b83ca7f 100644 ---

[PATCH net] net: dsa: Do not override PHY interface if already configured

2015-08-08 Thread Florian Fainelli
In case we need to divert reads/writes using the slave MII bus, we may have already fetched a valid PHY interface property from Device Tree, and that mode is used by the PHY driver to make configuration decisions. If we could not fetch the phy-mode property, we will assign p-phy_interface to

Re: [RFC PATCH 1/4] vhost: Introduce a universal thread to serve all users

2015-08-08 Thread Bandan Das
Eyal Moscovici eya...@il.ibm.com writes: Hi, Do you know what is the overhead of switching the vhost thread from one cgroup to another? I misinterpreted this question earlier. I think what you are asking here is that when the vm process is moved from one cgroup to another, what is the

Re: [RFC PATCH 0/4] Shared vhost design

2015-08-08 Thread Bandan Das
Hi Michael, Michael S. Tsirkin m...@redhat.com writes: On Mon, Jul 13, 2015 at 12:07:31AM -0400, Bandan Das wrote: Hello, There have been discussions on improving the current vhost design. The first attempt, to my knowledge was Shirley Ma's patch to create a dedicated vhost worker per

[PATCHv2 net-next] dsa: Support multiple MDIO busses

2015-08-08 Thread Andrew Lunn
When using a cluster of switches, some topologies will have an MDIO bus per switch, not one for the whole cluster. Allow this to be represented in the device tree, by adding an optional mii-bus property at the switch level. Signed-off-by: Andrew Lunn and...@lunn.ch Reviewed-by: Florian Fainelli