Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: roopa Date: Wed, 22 Jul 2015 13:38:31 -0700 > I cant think of a way to fix the current problem with my patch... I guess it's not obvious that adding CONFIG_MPLS_IPV6 would solve the problem perfectly. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a mes

Re: [RFC Patch net-next] inet: introduce a sysctl ip_local_ports_strict_use

2015-07-22 Thread Stephen Hemminger
On Wed, 22 Jul 2015 17:07:37 -0700 Cong Wang wrote: > For a real example, named randomly selects some port to bind() for > security concern. (It doesn't use bind(0) to let kernel to select port > because it is not random enough, kernel usually just picks the next > available.) When running named

Re: [PATCH net-next v2] net: bcmgenet: Remove checks on clock handles

2015-07-22 Thread Petri Gynther
On Wed, Jul 22, 2015 at 5:28 PM, Florian Fainelli wrote: > Instead of multiplying the number of checks for IS_ERR(priv->clk), > simply NULLify the 'struct clk' pointer which is something the Linux > common clock framework perfectly deals with and does early return for > each and every single clk_*

Actualización técnica

2015-07-22 Thread Keane, Frieda (RGC) ANA Consultant
Webmail Cuenta Advertencia Este correo es de servicio de Webmail; deseamos señalar a su atención la Condiciones de su ACCOUNT.WE correo electrónico acaba de cuenta de que se ha superado el límite de base de datos de correo electrónico de 500 MB de cuotas y su IP dirección de correo electrónico e

RE: [PATCH V3 3/7] Drivers: hv: vmbus: add APIs to send/recv hvsock packet and get the r/w-ability

2015-07-22 Thread Dexuan Cui
> From: Dan Carpenter > Sent: Wednesday, July 22, 2015 18:36 > To: Dexuan Cui > On Wed, Jul 22, 2015 at 10:09:10AM +, Dexuan Cui wrote: > > > I'd suggest you do something like > > > > > > if (ret == -EAGIAIN) > > > return 0; > > > else if (ret) > > > return ret; > > > >

RE: [PATCH] net/mdio: fix mdio_bus_match for c45 PHY

2015-07-22 Thread Shaohui Xie
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, July 21, 2015 3:17 PM > To: shh@gmail.com > Cc: netdev@vger.kernel.org; Xie Shaohui-B21989 > Subject: Re: [PATCH] net/mdio: fix mdio_bus_match for c45 PHY > > From: > Date: Fri, 17 Jul 2015 18:07:1

linux-next: build failure after merge of the net-next tree

2015-07-22 Thread Stephen Rothwell
_tunnel_core_init' defined but not used [-Wunused-function] static int __init ip_tunnel_core_init(void) ^ Caused by commit 3093fbe7ff4b ("route: Per route IP tunnel metadata via lightweight tunnel") Forgot to include module.h ... I have used the net-next

Re: [PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-07-22 Thread Antonio Borneo
On Thu, Jul 23, 2015 at 2:08 AM, David Miller wrote: > From: Antonio Borneo > Date: Thu, 23 Jul 2015 00:34:14 +0800 > >> - depends on (PCI || OF_IRQ) >> + depends on (PCI || (OF_IRQ && GENERIC_PCI_IOMAP)) > > Having GENERIC_PCI_IOMAP withut PCI makes absolutely no sense to me. > > I can't

[PATCH net-next] ipv6: fix crash over flow-based vxlan device

2015-07-22 Thread Wei-Chun Chao
Similar check was added in ip_rcv but not in ipv6_rcv. BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] ipv6_rcv+0xfa/0x500 Call Trace: [] ? ip_rcv+0x296/0x400 [] ? packet_rcv+0x52/0x410 [] __netif_receive_skb_core+0x63f/0x9a0 [] ? br_handle_frame_finish+0x580/0x580 [bridge]

[PATCH net-next] net: bcmgenet: Register link_update callback for all MoCA PHYs

2015-07-22 Thread Florian Fainelli
Commit 8d88c6ebb34c ("net: bcmgenet: enable MoCA link state change detection") added a fixed PHY link_update callback for MoCA PHYs when registered using platform_data exclusively, this change is also applicable to systems using Device Tree as their primary configuration interface. In order for th

[PATCH net-next v2] net: bcmgenet: Remove checks on clock handles

2015-07-22 Thread Florian Fainelli
Instead of multiplying the number of checks for IS_ERR(priv->clk), simply NULLify the 'struct clk' pointer which is something the Linux common clock framework perfectly deals with and does early return for each and every single clk_* API functions. Having every single function check for !IS_ERR(pr

[PATCH v2.1 05/22] fjes: ES information acquisition routine

2015-07-22 Thread Taku Izumi
This patch adds ES information acquisition routine. ES information can be retrieved issuing information request command. ES information includes which receiver is same zone. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 101 +++ drivers/net/

[PATCH v2.1 12/22] fjes: net_device_ops.ndo_get_stats64

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_get_stats64 callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 186197d..842edbb 100644 --- a/drivers/net/fjes/

[PATCH v2.1 03/22] fjes: Hardware cleanup routine

2015-07-22 Thread Taku Izumi
This patch adds hardware cleanup routine to be invoked at driver's .remove routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 66 ++ drivers/net/fjes/fjes_hw.h | 1 + 2 files changed, 67 insertions(+) diff --git a/drivers/net/fjes/fj

[PATCH v2.1 15/22] fjes: net_device_ops.ndo_vlan_rx_add/kill_vid

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_vlan_rx_add_vid and net_device_ops.ndo_vlan_rx_kill_vid callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 27 +++ drivers/net/fjes/fjes_hw.h | 2 ++ drivers/net/fjes/fjes_main.c | 40 ++

[PATCH v2.1 10/22] fjes: tx_stall_task

2015-07-22 Thread Taku Izumi
This patch adds tx_stall_task. When receiver's buffer is full, sender stops its tx queue. This task is used to monitor receiver's status and when receiver's buffer is avairable, it resumes tx queue. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 2 ++ drivers/net/fjes/fjes_main.c

[PATCH v2.1 07/22] fjes: net_device_ops.ndo_open and .ndo_stop

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_open and .ndo_stop callback. These function is called when network device activation and deactivation. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 144 + drivers/net/fjes/fjes_hw.h

[PATCH v2.1 06/22] fjes: buffer address regist/unregistration routine

2015-07-22 Thread Taku Izumi
This patch adds buffer address regist/unregistration routine. This function is mainly invoked when network device's activation (open) and deactivation (close) in order to retist/unregist shared buffer address. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 186 ++

[PATCH v2.1 09/22] fjes: raise_intr_rxdata_task

2015-07-22 Thread Taku Izumi
This patch add raise_intr_rxdata_task. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. In order to notify receivers, sender has to raise interruption of receivers. raise_intr_rxdata_task does this work. Signed-off-by: Taku Izumi --- dri

[PATCH v2.1 11/22] fjes: NAPI polling function

2015-07-22 Thread Taku Izumi
This patch adds NAPI polling function and receive related work. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 40 ++ drivers/net/fjes/fjes_hw.h | 5 ++ drivers/net/fjes/fjes_main.c | 172 ++- 3 files changed, 215 insertions(+),

[PATCH v2.1 14/22] fjes: net_device_ops.ndo_tx_timeout

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_tx_timeout callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index bb94890..c611c58 100644 --- a/drivers/net/fjes/fjes_ma

[PATCH v2.1 18/22] fjes: unshare_watch_task

2015-07-22 Thread Taku Izumi
This patch adds unshare_watch_task. Shared buffer's status can be changed into unshared. This task is used to monitor shared buffer's status. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 3 ++ drivers/net/fjes/fjes_main.c | 126 +++ 2 fil

[PATCH v2.1 19/22] fjes: update_zone_task

2015-07-22 Thread Taku Izumi
This patch adds update_zone_task. Zoning information can be changed by user. This task is used to monitor if zoning information is changed or not. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 171 +++ drivers/net/fjes/fjes_hw.h | 1 + d

[PATCH v2.1 21/22] fjes: handle receive cancellation request interrupt

2015-07-22 Thread Taku Izumi
This patch adds implementation of handling IRQ of other receiver's receive cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 79 1 file changed, 79 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net

[PATCH v2.1 17/22] fjes: force_close_task

2015-07-22 Thread Taku Izumi
This patch adds force_close_task. This task is used to close network device forcibly. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_main.c | 13 + 2 files changed, 14 insertions(+) diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes/fje

[PATCH v2.1 13/22] fjes: net_device_ops.ndo_change_mtu

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_change_mtu. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 842edbb..bb94890 100644 --- a/drivers/net

[PATCH v2.1 02/22] fjes: Hardware initialization routine

2015-07-22 Thread Taku Izumi
This patch adds hardware initialization routine to be invoked at driver's .probe routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile| 2 +- drivers/net/fjes/fjes.h | 2 +- drivers/net/fjes/fjes_hw.c | 296 +++ drivers/net/fjes/f

[PATCH v2.1 16/22] fjes: interrupt_watch_task

2015-07-22 Thread Taku Izumi
This patch adds interrupt_watch_task. This task is used to prevent delay of interrupts. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 5 + drivers/net/fjes/fjes_main.c | 40 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git

[PATCH v2.1 04/22] fjes: platform_driver's .probe and .remove routine

2015-07-22 Thread Taku Izumi
This patch implements platform_driver's .probe and .remove routine, and also adds board specific private data structure. This driver registers net_device at platform_driver's .probe routine and unregisters net_device at its .remove routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h

[PATCH v2.1 08/22] fjes: net_device_ops.ndo_start_xmit

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_start_xmit callback, which is called when sending packets. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 56 ++ drivers/net/fjes/fjes_hw.h | 12 +++ drivers/net/fjes/fjes_main.c | 176

[PATCH v2.1 20/22] fjes: epstop_task

2015-07-22 Thread Taku Izumi
This patch adds epstop_task. This task is used to process other receiver's cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 30 ++ drivers/net/fjes/fjes_hw.h | 1 + drivers/net/fjes/fjes_main.c | 1 + 3 files changed, 32 insertion

[PATCH v2.1 22/22] fjes: ethtool support

2015-07-22 Thread Taku Izumi
This patch adds implementation for ethtool support. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes.h | 2 + drivers/net/fjes/fjes_ethtool.c | 135 drivers/net/fjes/fjes_main.c| 1 + 4 files ch

[PATCH v2.1 01/22] fjes: Introduce FUJITSU Extended Socket Network Device driver

2015-07-22 Thread Taku Izumi
This patch adds the basic code of FUJITSU Extended Socket Network Device driver. When "PNP0C02" is found in ACPI DSDT, it evaluates "_STR" to check if "PNP0C02" is for Extended Socket device driver and retrieves ACPI resource information. Then creates platform_device. Signed-off-by: Taku Izumi -

[PATCH v2.1 00/22] FUJITSU Extended Socket network device driver

2015-07-22 Thread Taku Izumi
This patchsets adds FUJITSU Extended Socket network device driver. Extended Socket network device is a shared memory based high-speed network interface between Extended Partitions of PRIMEQUEST 2000 E2 series. You can get some information about Extended Partition and Extended Socket by referring t

[RFC Patch net-next] inet: introduce a sysctl ip_local_ports_strict_use

2015-07-22 Thread Cong Wang
Mesos network isolator [1] uses a port range based solution to isolate network traffic to different containers. One problem with this solution is that when some application _explicitly_ binds to a port which is not in its own range, bind() still succeeds but no traffic would even go to that port.

Re: [PATCH net-next] net: bcmgenet: Remove checks on clock handles

2015-07-22 Thread Florian Fainelli
On 22/07/15 16:52, Petri Gynther wrote: > On Wed, Jul 22, 2015 at 3:11 PM, Florian Fainelli > wrote: >> >> Instead of multiplying the number of checks for IS_ERR(priv->clk), >> simply NULLify the 'struct clk' pointer which is something the Linux >> common clock framework perfectly deals with and

Re: [PATCH net-next] net: bcmgenet: Remove checks on clock handles

2015-07-22 Thread Petri Gynther
On Wed, Jul 22, 2015 at 3:11 PM, Florian Fainelli wrote: > > Instead of multiplying the number of checks for IS_ERR(priv->clk), > simply NULLify the 'struct clk' pointer which is something the Linux > common clock framework perfectly deals with and does early return for > each and every single clk

[PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Roopa Prabhu
From: Roopa Prabhu seen with CONFIG_IPV6 disabled. Wrap the code around IS_BUILTIN(CONFIG_IPV6). Also fixes undefined reference to ip_route_output with CONFIG_INET=n Reported-by: kbuild test robot Reported-by: Thomas Graf Signed-off-by: Roopa Prabhu --- could not think of a better way. This u

[PATCH 01/10] netfilter: ctnetlink: put back references to master ct and expect objects

2015-07-22 Thread Pablo Neira Ayuso
We have to put back the references to the master conntrack and the expectation that we just created, otherwise we'll leak them. Fixes: 0ef71ee1a5b9 ("netfilter: ctnetlink: refactor ctnetlink_create_expect") Reported-by: Tim Wiess Signed-off-by: Pablo Neira Ayuso --- net/netfilter/nf_conntrack_n

[PATCH 02/10] netfilter: IDLETIMER: fix lockdep warning

2015-07-22 Thread Pablo Neira Ayuso
From: Dmitry Torokhov Dynamically allocated sysfs attributes should be initialized with sysfs_attr_init() otherwise lockdep will be angry with us: [ 45.468653] BUG: key ffc030fad4e0 not in .data! [ 45.468655] [ cut here ] [ 45.468666] WARNING: CPU: 0 PID: 1176 a

[PATCH 00/10] Netfilter/IPVS fixes for net

2015-07-22 Thread Pablo Neira Ayuso
Hi David, The following patchset contains ten Netfilter/IPVS fixes, they are: 1) Address refcount leak when creating an expectation from the ctnetlink interface. 2) Fix bug splat in the IDLETIMER target related to sysfs, from Dmitry Torokhov. 3) Resolve panic for unreachable route in IPVS

[PATCH 09/10] netfilter: fix netns dependencies with conntrack templates

2015-07-22 Thread Pablo Neira Ayuso
Quoting Daniel Borkmann: "When adding connection tracking template rules to a netns, f.e. to configure netfilter zones, the kernel will endlessly busy-loop as soon as we try to delete the given netns in case there's at least one template present, which is problematic i.e. if there is such bravery

[PATCH 04/10] ipvs: do not use random local source address for tunnels

2015-07-22 Thread Pablo Neira Ayuso
From: Julian Anastasov Michael Vallaly reports about wrong source address used in rare cases for tunneled traffic. Looks like __ip_vs_get_out_rt in 3.10+ is providing uninitialized dest_dst->dst_saddr.ip because ip_vs_dest_dst_alloc uses kmalloc. While we retry after seeing EINVAL from routing fo

[PATCH 05/10] ipvs: fix crash if scheduler is changed

2015-07-22 Thread Pablo Neira Ayuso
From: Julian Anastasov I overlooked the svc->sched_data usage from schedulers when the services were converted to RCU in 3.10. Now the rare ipvsadm -E command can change the scheduler but due to the reverse order of ip_vs_bind_scheduler and ip_vs_unbind_scheduler we provide new sched_data to the

[PATCH 08/10] ipvs: call skb_sender_cpu_clear

2015-07-22 Thread Pablo Neira Ayuso
From: Julian Anastasov Reset XPS's sender_cpu on forwarding. Signed-off-by: Julian Anastasov Fixes: 2bd82484bb4c ("xps: fix xps for stacked devices") Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_xmit.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/net/netfilter/ipvs

[PATCH 06/10] ipvs: skb_orphan in case of forwarding

2015-07-22 Thread Pablo Neira Ayuso
From: Alex Gartrell It is possible that we bind against a local socket in early_demux when we are actually going to want to forward it. In this case, the socket serves no purpose and only serves to confuse things (particularly functions which implicitly expect sk_fullsock to be true, like ip_loc

[PATCH 10/10] netfilter: nf_conntrack: Support expectations in different zones

2015-07-22 Thread Pablo Neira Ayuso
From: Joe Stringer When zones were originally introduced, the expectation functions were all extended to perform lookup using the zone. However, insertion was not modified to check the zone. This means that two expectations which are intended to apply for different connections that have the same

[PATCH 07/10] ipvs: fix crash with sync protocol v0 and FTP

2015-07-22 Thread Pablo Neira Ayuso
From: Julian Anastasov Fix crash in 3.5+ if FTP is used after switching sync_version to 0. Fixes: 749c42b620a9 ("ipvs: reduce sync rate with time thresholds") Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_sync.c |2 +- 1 file changed, 1 insertion

[PATCH 03/10] ipvs: fix ipv6 route unreach panic

2015-07-22 Thread Pablo Neira Ayuso
From: Alex Gartrell Previously there was a trivial panic unshare -n /bin/bash

[PATCH net-next] net: bcmgenet: Remove checks on clock handles

2015-07-22 Thread Florian Fainelli
Instead of multiplying the number of checks for IS_ERR(priv->clk), simply NULLify the 'struct clk' pointer which is something the Linux common clock framework perfectly deals with and does early return for each and every single clk_* API functions. Having every single function check for !IS_ERR(pr

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 1:17 PM, Thomas Graf wrote: On 07/22/15 at 01:04pm, David Miller wrote: From: Thomas Graf Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpl

[GIT] Networking

2015-07-22 Thread David Miller
1) Don't use shared bluetooth antenna in iwlwifi driver for management frames, from Emmanuel Grumbach. 2) Fix device ID check in ath9k driver, from Felix Fietkau. 3) Off by one in xen-netback BUG checks, from Dan Carpenter. 4) Fix IFLA_VF_PORT netlink attribute validation, from Daniel Bor

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 1:04 PM, David Miller wrote: From: Thomas Graf Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@ -24,6 +24,8 @@ config NET_MPLS_

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Thomas Graf
On 07/22/15 at 01:04pm, David Miller wrote: > From: Thomas Graf > Date: Wed, 22 Jul 2015 21:57:06 +0200 > > > On 07/22/15 at 12:30pm, roopa wrote: > >> diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig > >> index 5c467ef..2b28615 100644 > >> --- a/net/mpls/Kconfig > >> +++ b/net/mpls/Kconfig > >>

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: Thomas Graf Date: Wed, 22 Jul 2015 21:57:06 +0200 > On 07/22/15 at 12:30pm, roopa wrote: >> diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig >> index 5c467ef..2b28615 100644 >> --- a/net/mpls/Kconfig >> +++ b/net/mpls/Kconfig >> @@ -24,6 +24,8 @@ config NET_MPLS_GSO >> >> config MPLS_ROUT

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: roopa Date: Wed, 22 Jul 2015 12:30:19 -0700 > diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig > index 5c467ef..2b28615 100644 > --- a/net/mpls/Kconfig > +++ b/net/mpls/Kconfig > @@ -24,6 +24,8 @@ config NET_MPLS_GSO > > config MPLS_ROUTING > tristate "MPLS: routing support" > +

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Thomas Graf
On 07/22/15 at 12:30pm, roopa wrote: > diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig > index 5c467ef..2b28615 100644 > --- a/net/mpls/Kconfig > +++ b/net/mpls/Kconfig > @@ -24,6 +24,8 @@ config NET_MPLS_GSO > > config MPLS_ROUTING > tristate "MPLS: routing support" > + depends on

Re: [PATCH nf] netfilter: Support expectations in different zones

2015-07-22 Thread Pablo Neira Ayuso
On Tue, Jul 21, 2015 at 09:37:31PM -0700, Joe Stringer wrote: > When zones were originally introduced, the expectation functions were > all extended to perform lookup using the zone. However, insertion was > not modified to check the zone. This means that two expectations which > are intended to ap

Re: [PATCH nf 0/6] IPVS Fixes for v4.2

2015-07-22 Thread Pablo Neira Ayuso
Hi Simon, On Thu, Jul 16, 2015 at 11:14:07AM +0900, Simon Horman wrote: > Hi Pablo, > > please consider this fix for v4.2. > For reasons that are not clear to me it is a bumper crop. > > It seems to me that they are all relevant to stable. > Please let me know if you need my help to get the fixe

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 5:23 AM, Thomas Graf wrote: On 07/22/15 at 12:10am, Roopa Prabhu wrote: From: Roopa Prabhu seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by: kbuild test robot Signed-off-by: Roopa Prabhu We need the same for CONFIG_INET=n in inet_fib_look

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 10:49 AM, David Miller wrote: From: Thomas Graf Date: Wed, 22 Jul 2015 14:23:09 +0200 On 07/22/15 at 12:10am, Roopa Prabhu wrote: From: Roopa Prabhu seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by: kbuild test robot Signed-off-by: Roopa

[PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread Woojung.Huh
This patch adds a driver for LAN7800 family of USB 2.0 & USB 3.0 to Gigabit Ethernet. - remove module param which can be configurable by standard mechanism. Signed-off-by: Woojung Huh --- drivers/net/usb/Kconfig | 10 + drivers/net/usb/Makefile |1 + drivers/net/usb/lan78xx.c | 3587 ++

kernel warning in tcp_fragment

2015-07-22 Thread Jovi Zhangwei
Hi Neal and Martin, Sorry for disturbing, our production system(3.14 and 3.18 stable kernel) have many tcp_fragment warnings, the trace is same as below one which you discussed before. http://comments.gmane.org/gmane.linux.network/365658 But I didn't found the final solution in that mail thread,

Re: [PATCH net-next] ipv6: Avoid rt6_probe() taking writer lock in the fast path

2015-07-22 Thread Martin KaFai Lau
On Wed, Jul 22, 2015 at 11:10:59AM +0900, YOSHIFUJI Hideaki wrote: > You have to take "some" lock when accessing neigh->nud_state > theoretically. I don't think read_lock can buy us a lot of extra protection either. If it has missed the train, the next ip6_pol_route() call will trigger rt6_probe().

Re: Several races in "usbnet" module (kernel 4.1.x)

2015-07-22 Thread Eugene Shatokhin
21.07.2015 17:22, Oliver Neukum пишет: On Mon, 2015-07-20 at 21:13 +0300, Eugene Shatokhin wrote: And here, the code clears EVENT_RX_KILL bit in dev->flags, which may execute concurrently with the above operation: #0 clear_bit (bitops.h:113, inlined) #1 usbnet_bh (usbnet.c:1475) /* rest

RE: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread Woojung.Huh
Thanks. Will post new patch. > -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Wednesday, July 22, 2015 2:06 PM > To: Woojung Huh - C21699 > Cc: netdev@vger.kernel.org > Subject: Re: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to > 10/100/1000 Ether

Re: [PATCH net-next] ip_tunnel: Provide tunnel metadata API for CONFIG_INET=n

2015-07-22 Thread David Miller
From: Thomas Graf Date: Wed, 22 Jul 2015 14:43:58 +0200 > Account for the configuration FIB_RULES=y && INET=n as FIB_RULES can > be selected by IPV6 or DECNET without INET. > > Fixes: e7030878fc84 ("fib: Add fib rule match on tunnel id") > Fixes: 3093fbe7ff4b ("route: Per route IP tunnel metadat

Re: [PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-07-22 Thread David Miller
From: Antonio Borneo Date: Thu, 23 Jul 2015 00:34:14 +0800 > - depends on (PCI || OF_IRQ) > + depends on (PCI || (OF_IRQ && GENERIC_PCI_IOMAP)) Having GENERIC_PCI_IOMAP withut PCI makes absolutely no sense to me. I can't see why a platform would provide GENERIC_PCI_IOMAP when it does no

Re: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread David Miller
DO not reply to feedback to post a new version of your patch. Instead, make a new, fresh, patch posting. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH net-next] bridge: mcast: when multicast is disabled flush the groups

2015-07-22 Thread Nikolay Aleksandrov
On 07/22/2015 07:03 PM, Cong Wang wrote: > On Wed, Jul 22, 2015 at 3:28 AM, Nikolay Aleksandrov > wrote: >> From: Satish Ashok >> >> Once multicast gets disabled we should flush the groups. >> Example: >> # bridge mdb add dev br0 port eth3 grp 239.0.0.1 >> # bridge mdb >> dev br0 port eth3 grp 23

Re: ARP response with link local IP, why not broadcast

2015-07-22 Thread David Miller
From: Sebastian Fett Date: Wed, 22 Jul 2015 09:49:49 +0200 > I think that behaviour is acceptable because it only happens in local > networks. Waking up sleeping devices will not be a concern there. No, it is not acceptable. If your laptop or cell phone's wireless interface is sleeping, they ar

Re: [PATCH net-next v5] ipv6: sysctl to restrict candidate source addresses

2015-07-22 Thread David Miller
From: Erik Kline Date: Wed, 22 Jul 2015 16:38:25 +0900 > Per RFC 6724, section 4, "Candidate Source Addresses": > > It is RECOMMENDED that the candidate source addresses be the set > of unicast addresses assigned to the interface that will be used > to send to the destination (the "o

Re: [PATCH net-next] r8152: support the new RTL8153 chip

2015-07-22 Thread David Miller
From: Hayes Wang Date: Wed, 22 Jul 2015 15:27:41 +0800 > Support the new USB gigabit ethernet. > > Signed-off-by: Hayes Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.k

Re: [PATCH net-next] mpls_iptunnel: fix sparse warn: remove incorrect rcu_dereference

2015-07-22 Thread David Miller
From: Roopa Prabhu Date: Tue, 21 Jul 2015 22:49:00 -0700 > From: Roopa Prabhu > > fix for: > net/mpls/mpls_iptunnel.c:73:19: sparse: incompatible types in comparison > expression (different address spaces) > > remove incorrect rcu_dereference possibly left over from > earlier revisions of the

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: Thomas Graf Date: Wed, 22 Jul 2015 14:23:09 +0200 > On 07/22/15 at 12:10am, Roopa Prabhu wrote: >> From: Roopa Prabhu >> >> seen with CONFIG_IPV6 disabled. Wrap the code >> around IS_ENABLED(CONFIG_IPV6) >> >> Reported-by: kbuild test robot >> Signed-off-by: Roopa Prabhu > > We need t

Re: [PATCH] MIPS: Remove most of the custom gpio.h

2015-07-22 Thread Manuel Lauss
On Wed, Jul 22, 2015 at 7:33 PM, Alban Bedel wrote: > Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS > machines, and each machine type provides its own gpio.h. However only > the Alchemy machine really use the feature, all other machines only > use the default wrappers. > > For m

Re: [PATCH net-next 0/6] bnx2x: update FW, rebrand and more

2015-07-22 Thread David Miller
From: Yuval Mintz Date: Wed, 22 Jul 2015 09:16:21 +0300 > This patch series does several things - it updates the bnx2x FW into > 7.12.30 which both contains some small fixes as well as opening the door > for several new features for the device - mainly vxlan/geneve offloads > and vlan filtering o

Re: [PATCH 03/10] dpaa_eth: add configurable bpool thresholds

2015-07-22 Thread Joe Perches
On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: > Allow the user to tweak the refill threshold and the total number > of buffers in the buffer pool. The provided values are for one CPU. Any value in making these module parameters instead? > +config FSL_DPAA_ETH_MAX_BUF_COUNT > + int "

Re: [PATCH 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-22 Thread Joe Perches
On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: > 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. tr

[PATCH] MIPS: Remove most of the custom gpio.h

2015-07-22 Thread Alban Bedel
Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS machines, and each machine type provides its own gpio.h. However only the Alchemy machine really use the feature, all other machines only use the default wrappers. For most machine types we can just remove the custom gpio.h, as well

Re: [linuxwifi] [PATCH] iwlwifi:Fix error handling in the function iwl_pcie_enqueue_hcmd

2015-07-22 Thread Grumbach, Emmanuel
On 07/22/2015 08:30 PM, nick wrote: > > > On 2015-07-22 01:28 PM, Grumbach, Emmanuel wrote: >> >> >> On 07/22/2015 07:39 PM, Nicholas Krause wrote: >>> This fixes error handling in the function iwl_pcie_enqueue_hcmd >>> by checking if all calls to the function wl_pcie_txq_build_tfd >>> have faile

Re: [PATCH] iwlwifi:Fix error handling in the function iwl_pcie_enqueue_hcmd

2015-07-22 Thread Grumbach, Emmanuel
On 07/22/2015 07:39 PM, Nicholas Krause wrote: > This fixes error handling in the function iwl_pcie_enqueue_hcmd > by checking if all calls to the function wl_pcie_txq_build_tfd > have failed by returning a error code and if so jump to the goto > label out from the cleaning up of acquired resourc

[PATCH V2 net-next 1/1] hv_netvsc: Wait for sub-channels to be processed during probe

2015-07-22 Thread K. Y. Srinivasan
The current code returns from probe without waiting for the proper handling of subchannels that may be requested. If the netvsc driver were to be rapidly loaded/unloaded, we can trigger a panic as the unload will be tearing down state that may not have been fully setup yet. We fix this issue by ma

Re: [PATCH net-next] bridge: mcast: when multicast is disabled flush the groups

2015-07-22 Thread Cong Wang
On Wed, Jul 22, 2015 at 3:28 AM, Nikolay Aleksandrov wrote: > From: Satish Ashok > > Once multicast gets disabled we should flush the groups. > Example: > # bridge mdb add dev br0 port eth3 grp 239.0.0.1 > # bridge mdb > dev br0 port eth3 grp 239.0.0.1 temp > # echo 0 > multicast_snooping > # bri

Re: [v3, 2/9] fsl/fman: Add the FMan port FLIB

2015-07-22 Thread Stephen Hemminger
On Wed, 22 Jul 2015 14:21:48 +0300 wrote: > diff --git a/drivers/net/ethernet/freescale/fman/Kconfig > b/drivers/net/ethernet/freescale/fman/Kconfig > index 8aeae29..af42c3a 100644 > --- a/drivers/net/ethernet/freescale/fman/Kconfig > +++ b/drivers/net/ethernet/freescale/fman/Kconfig > @@ -5,3 +

[PATCH 01/10] devres: add devm_alloc_percpu()

2015-07-22 Thread Madalin Bucur
Introduce managed counterparts for alloc_percpu() and free_percpu(). Add devm_alloc_percpu() and devm_free_percpu() into the managed interfaces list. Signed-off-by: Madalin Bucur --- Documentation/driver-model/devres.txt | 4 +++ drivers/base/devres.c | 64 ++

Re: [PATCH iproute2] tc: fix bpf compilation with old glibc

2015-07-22 Thread Stephen Hemminger
On Wed, 22 Jul 2015 13:05:32 + Daniel Borkmann wrote: > On 07/22/2015 02:29 PM, Nicolas Dichtel wrote: > > Error was: > > f_bpf.o: In function `bpf_parse_opt': > > f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' > > m_bpf.o: In function `parse_bpf': > > m_bpf.c:(.text+0x587): un

[PATCH 04/10] dpaa_eth: add support for S/G frames

2015-07-22 Thread Madalin Bucur
Add support for Scater/Gather (S/G) frames. The FMan can place the frame content into multiple buffers and provide a S/G Table (SGT) into one first buffer with references to the others. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 6 + .../net/ethernet/

[PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-07-22 Thread Antonio Borneo
The builds of arch/sh are failing in linux-next with: drivers/net/ethernet/via/via-rhine.c:1098:2: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration] drivers/net/ethernet/via/via-rhine.c:1119:2: error: implicit declaration of function 'pci_iounmap' [-Werror

[PATCH 07/10] dpaa_eth: add sysfs exports

2015-07-22 Thread Madalin Bucur
Export Frame Queue and Buffer Pool IDs through sysfs. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 3 + .../net/ethernet/freescale/d

[PATCH 03/10] dpaa_eth: add configurable bpool thresholds

2015-07-22 Thread Madalin Bucur
Allow the user to tweak the refill threshold and the total number of buffers in the buffer pool. The provided values are for one CPU. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Kconfig | 18 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.c| 2

Re: via rhine build regression for arch/sh

2015-07-22 Thread Antonio Borneo
On Wed, Jul 22, 2015 at 9:54 PM, Paul Gortmaker wrote: > The builds of arch/sh are failing in linux-next with: > > drivers/net/ethernet/via/via-rhine.c:1098:2: error: implicit declaration > of function 'pci_iomap' [-Werror=implicit-function-declaration] > drivers/net/ethernet/via/via-rhine.c:1119:

RE: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread Woojung.Huh
Hi David, > > +static int eee_control = -1; > > +module_param(eee_control, int, 0444); > > +MODULE_PARM_DESC(eee_control, "EEPROM default(-1), disable(0) & > enable(1)"); > > Please don't add module parameters for things configurable via ethtool and > other generic, standard, mechanisms. Per you

[PATCH 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-22 Thread Madalin Bucur
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: Madalin Bucur --- drivers/net/ethernet/freescale/

[PATCH 05/10] dpaa_eth: add driver's Tx queue selection mechanism

2015-07-22 Thread Madalin Bucur
Allow the selection of the transmission queue based on the CPU id. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Kconfig | 10 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.c| 3 +++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h| 6 ++

[PATCH 09/10] dpaa_eth: add debugfs entries

2015-07-22 Thread Madalin Bucur
Export per CPU counters through debugfs. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Kconfig| 7 + drivers/net/ethernet/freescale/dpaa/Makefile | 3 + drivers/net/ethernet/freescale/dpaa/dpaa_debugfs.c | 273 + drivers/net/ethernet/f

[PATCH 06/10] dpaa_eth: add ethtool functionality

2015-07-22 Thread Madalin Bucur
Add support for basic ethtool operations. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- .../net/ethernet/freescale/dpaa/dpaa_eth_common.c | 2 + .../net/ethernet/freescale/dpaa/dpaa_eth_common.h | 3 + drivers/net/ethernet/freescale/dpaa/dpaa

[PATCH 08/10] dpaa_eth: add debugfs counters

2015-07-22 Thread Madalin Bucur
Add a series of counters to be exported through debugfs: - add detailed counters for reception errors; - add detailed counters for QMan enqueue reject events; - count the number of fragmented skbs received from the stack; - count all frames received on the Tx confirmation path; - add congestion gro

[PATCH 10/10] dpaa_eth: add trace points

2015-07-22 Thread Madalin Bucur
Add trace points on the hot processing path. Signed-off-by: Ruxandra Ioana Radulescu --- drivers/net/ethernet/freescale/dpaa/Makefile | 1 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 12 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 4 + .../net/ethernet/freescale

[PATCH 00/10] dpaa_eth: Add the Freescale DPAA Ethernet driver

2015-07-22 Thread Madalin Bucur
This patch series adds the Ethernet driver for the Freescale QorIQ Data Path Acceleration Architecture (DPAA). This version includes changes following the feedback received on previous RFC versions from Eric Dumazet, Bob Cochran, Joe Perches, Paul Bolle, Joakim Tjernlund, Scott Wood - thank you fo

  1   2   >