Gift

2015-06-20 Thread shqmsgj
Good news tv,moto,cellphone,gultar the shipping is free samsung 6, € 320 s i te: isgayre. com N�r��yb�X��ǧv�^�)޺{.n�+���z�^�)

Re: [PATCH net] netfilter: nf_qeueue: Drop queue entries on nf_unregister_hook

2015-06-20 Thread Patrick McHardy
On 20.06, Pablo Neira Ayuso wrote: On Fri, Jun 19, 2015 at 02:03:39PM -0500, Eric W. Biederman wrote: Add code to nf_unregister_hook to flush the nf_queue when a hook is unregistered. This guarantees that the pointer that the nf_queue code retains into the nf_hook list will remain valid

Re: [PATCH net] netfilter: nf_qeueue: Drop queue entries on nf_unregister_hook

2015-06-20 Thread Pablo Neira Ayuso
On Fri, Jun 19, 2015 at 02:03:39PM -0500, Eric W. Biederman wrote: Add code to nf_unregister_hook to flush the nf_queue when a hook is unregistered. This guarantees that the pointer that the nf_queue code retains into the nf_hook list will remain valid while a packet is queued. I think the

Re: [PATCH net] netfilter: nf_queue: Don't recompute the hook_list head

2015-06-20 Thread Pablo Neira Ayuso
On Fri, Jun 19, 2015 at 05:23:37PM -0500, Eric W. Biederman wrote: If someone sends packets from one of the netdevice ingress hooks to the a userspace queue, and then userspace later accepts the packet, the netfilter code can enter an infinite loop as the list head will never be found.

Re: [PATCH v2] bpf: BPF based latency tracing

2015-06-20 Thread Daniel Borkmann
On 06/19/2015 04:00 PM, Daniel Wagner wrote: BPF offers another way to generate latency histograms. We attach kprobes at trace_preempt_off and trace_preempt_on and calculate the time it takes to from seeing the off/on transition. The first array is used to store the start time stamp. The key is

Re: [PATCH 2/3] rcar_can: print signed IRQ #

2015-06-20 Thread Geert Uytterhoeven
Hi Sergei, On Sat, Jun 20, 2015 at 2:33 AM, Sergei Shtylyov sergei.shtyl...@cogentembedded.com wrote: Printing IRQ # using %x and %u unsigned formats isn't quite correct as 'ndev-irq' is of type *int*, so the %d format needs to be used instead. While fixing this, beautify the dev_info()

Re: [PATCH net] netfilter: nf_qeueue: Drop queue entries on nf_unregister_hook

2015-06-20 Thread Eric W. Biederman
Pablo Neira Ayuso pa...@netfilter.org writes: On Fri, Jun 19, 2015 at 02:03:39PM -0500, Eric W. Biederman wrote: Add code to nf_unregister_hook to flush the nf_queue when a hook is unregistered. This guarantees that the pointer that the nf_queue code retains into the nf_hook list will

Re: [PATCH net] netfilter: nf_qeueue: Drop queue entries on nf_unregister_hook

2015-06-20 Thread Eric W. Biederman
Patrick McHardy ka...@trash.net writes: On 20.06, Pablo Neira Ayuso wrote: On Fri, Jun 19, 2015 at 02:03:39PM -0500, Eric W. Biederman wrote: Add code to nf_unregister_hook to flush the nf_queue when a hook is unregistered. This guarantees that the pointer that the nf_queue code

Re: [PATCH 2/3] rcar_can: print signed IRQ #

2015-06-20 Thread Marc Kleine-Budde
On 06/20/2015 04:38 PM, Sergei Shtylyov wrote: Hello. On 6/20/2015 3:03 PM, Geert Uytterhoeven wrote: Printing IRQ # using %x and %u unsigned formats isn't quite correct as 'ndev-irq' is of type *int*, so the %d format needs to be used instead. While fixing this, beautify the

[PATCHv2 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-20 Thread Andrew Lunn
When a switch is attached to the mdio bus, the mdio bus can be used while the interface is not open. If the IPG clock are not enabled, MDIO reads/writes will simply time out. So enable the clock before starting a transaction, and disable it afterwards. The CCF performs reference counting so the

Re: macb napi strange behavior

2015-06-20 Thread Francois Romieu
Florian Fainelli f.faine...@gmail.com : [...] Typically, NAPI is used at the receive side of the Ethernet NIC/driver to lower the hard/soft interrupt context switch, although there is nothing that prevent you to implement a similar scheme for the transmit side. Usually, for transmit you will

[PATCH] can: fix loss of frames due to wrong assumption in raw_rcv

2015-06-20 Thread Manfred Schlaegl
I've detected a massive loss of can frames on i.MX6 using flexcan driver with 4.1-rc8 and tracked this down to following commit: 514ac99c64b22d83b52dfee3b8becaa69a92bc4a - can: fix multiple delivery of a single CAN frame for overlapping CAN filters 514ac99c64b22d83b52dfee3b8becaa69a92bc4a

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

2015-06-20 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (i386 defconfig) produced these warnings: In file included from include/net/netfilter/nf_conntrack_tuple.h:13:0, from include/linux/netfilter/nf_conntrack_dccp.h:28, from

Re: [PATCH net-next RFC v2 1/3] lwt: infrastructure to support light weight tunnels

2015-06-20 Thread roopa
On 6/19/15, 11:39 AM, Robert Shearman wrote: On 19/06/15 19:34, roopa wrote: On 6/19/15, 10:25 AM, Robert Shearman wrote: n 19/06/15 16:14, roopa wrote: In the netdevice case, this output function is not called atall. It should just follow the existing netdevice the route is pointing to.

Re: [PATCH net-next RFC v2 3/3] mpls: support for ip tunnels

2015-06-20 Thread roopa
On 6/19/15, 9:06 AM, Robert Shearman wrote: Since the entire label stack and the output device is encoded in the route, this means that you won't get prefix-independent convergence with this implementation for an IGP route change. I.e. if you've got 10 million VPN routes via an IGP route for

Re: [PATCH net-next RFC v2 3/3] mpls: support for ip tunnels

2015-06-20 Thread roopa
On 6/19/15, 9:06 AM, Robert Shearman wrote: + +/* Push the new labels */ +hdr = mpls_hdr(skb); +bos = true; +for (i = tun_encap_info-labels - 1; i = 0; i--) { +hdr[i] = mpls_entry_encode(tun_encap_info-label[i], + dec.ttl, 0, bos); dec is never

Re: [PATCH net] netfilter: nf_queue: Don't recompute the hook_list head

2015-06-20 Thread Eric W. Biederman
Pablo Neira Ayuso pa...@netfilter.org writes: On Fri, Jun 19, 2015 at 05:23:37PM -0500, Eric W. Biederman wrote: If someone sends packets from one of the netdevice ingress hooks to the a userspace queue, and then userspace later accepts the packet, the netfilter code can enter an infinite

Re: [PATCH 2/3] rcar_can: print signed IRQ #

2015-06-20 Thread Sergei Shtylyov
Hello. On 6/20/2015 3:03 PM, Geert Uytterhoeven wrote: Printing IRQ # using %x and %u unsigned formats isn't quite correct as 'ndev-irq' is of type *int*, so the %d format needs to be used instead. While fixing this, beautify the dev_info() message in rcar_can_probe() a bit. If you

Re: [PATCH net-next RFC v2 1/3] lwt: infrastructure to support light weight tunnels

2015-06-20 Thread Nikolay Aleksandrov
snip diff --git a/net/core/lwtunnel.c b/net/core/lwtunnel.c new file mode 100644 index 000..29c7802 --- /dev/null +++ b/net/core/lwtunnel.c @@ -0,0 +1,162 @@ +/* + * lwtunnel Infrastructure for light weight tunnels like mpls + * + * + * This program is free software; you

Re: [PATCH 00/32] Netfilter updates for net-next

2015-06-20 Thread Jakub Kiciński
On Mon, 15 Jun 2015 23:25:57 +0200, Pablo Neira Ayuso wrote: Hi David, This a bit large (and late) patchset that contains Netfilter updates for net-next. Most relevantly br_netfilter fixes, ipset RCU support, removal of x_tables percpu ruleset copy and rework of the nf_tables netdev support.

Re: [PATCH 2/3] rcar_can: print signed IRQ #

2015-06-20 Thread Sergei Shtylyov
Hello. On 6/20/2015 7:02 PM, Marc Kleine-Budde wrote: Printing IRQ # using %x and %u unsigned formats isn't quite correct as 'ndev-irq' is of type *int*, so the %d format needs to be used instead. While fixing this, beautify the dev_info() message in rcar_can_probe() a bit. If you

[PATCH] can: fix loss of frames due to wrong assumption in raw_rcv

2015-06-20 Thread manfred.schla...@gmx.at
I've detected a massive loss of can frames on i.MX6 using flexcan driver with 4.1-rc8 and tracked this down to following commit: 514ac99c64b22d83b52dfee3b8becaa69a92bc4a - can: fix multiple delivery of a single CAN frame for overlapping CAN filters 514ac99c64b22d83b52dfee3b8becaa69a92bc4a

[PATCH 4/6] dsa: mv88x6xxx: Add debugfs interface for statistics

2015-06-20 Thread Andrew Lunn
Allow the contents of the statistics counters to be shown in debugfs. This is particularly useful for the cpu and dsa ports, which cannot be seen using ethtools -S. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6xxx.c | 59 + 1

[PATCH 5/6] dsa: mv88x6xxx: Add debugfs interface for device map

2015-06-20 Thread Andrew Lunn
The device map is used to route packets between cascaded switches. Add dumping a switches device map via debugfs. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6xxx.c | 41 + drivers/net/dsa/mv88e6xxx.h | 1 + 2 files changed, 42

[PATCH 2/6] dsa: mv88e6xxx: Add debugfs interface for ATU

2015-06-20 Thread Andrew Lunn
Dump the Address Translation Unit via a file in debugfs. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6xxx.c | 81 + drivers/net/dsa/mv88e6xxx.h | 3 ++ 2 files changed, 84 insertions(+) diff --git a/drivers/net/dsa/mv88e6xxx.c

[PATCH 0/6] debugfs for mv88e6xxx

2015-06-20 Thread Andrew Lunn
This patchset adds some debugfs files for seeing into a mv88e6xxx family of switch chips. # cat atu DB T/P Vec State Addr 003 Port 008 7 00:22:02:00:18:44 003 Port 008 6 80:ee:73:83:60:27 005 Port 020 7 94:10:3e:80:bc:f3 0f8 Port 001 6 8e:25:13:53:44:de This walks all

[PATCH 3/6] dsa: mv88x6xxx: Refactor getting a single statistic

2015-06-20 Thread Andrew Lunn
Move the code to retrieve a statistics counter into a function of its own, so it can later be reused. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6xxx.c | 63 ++--- drivers/net/dsa/mv88e6xxx.h | 4 +++ 2 files changed, 40

[PATCH 1/6] dsa: mv88e6xxx: Add debugfs interface for registers

2015-06-20 Thread Andrew Lunn
Allow the contents of the registers to be shown in debugfs. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6xxx.c | 50 + drivers/net/dsa/mv88e6xxx.h | 2 ++ 2 files changed, 52 insertions(+) diff --git

Re: [PATCH net] netfilter: nf_qeueue: Drop queue entries on nf_unregister_hook

2015-06-20 Thread Patrick McHardy
On 20.06, Eric W. Biederman wrote: Patrick McHardy ka...@trash.net writes: On 20.06, Pablo Neira Ayuso wrote: On Fri, Jun 19, 2015 at 02:03:39PM -0500, Eric W. Biederman wrote: Add code to nf_unregister_hook to flush the nf_queue when a hook is unregistered. This guarantees that

[PATCH 6/6] dsa: mv88x6xxx: Add debugfs interface for scratch registers

2015-06-20 Thread Andrew Lunn
Allow the contents of the scratch registers to be shown in debugfs. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6xxx.c | 54 + drivers/net/dsa/mv88e6xxx.h | 3 +++ 2 files changed, 57 insertions(+) diff --git

Re: [PATCH 00/32] Netfilter updates for net-next

2015-06-20 Thread Pablo Neira Ayuso
On Sat, Jun 20, 2015 at 03:11:30PM +0200, Jakub Kiciński wrote: On Mon, 15 Jun 2015 23:25:57 +0200, Pablo Neira Ayuso wrote: Hi David, This a bit large (and late) patchset that contains Netfilter updates for net-next. Most relevantly br_netfilter fixes, ipset RCU support, removal of

Re: [PATCH net] netfilter: nf_qeueue: Drop queue entries on nf_unregister_hook

2015-06-20 Thread Pablo Neira Ayuso
On Sat, Jun 20, 2015 at 01:32:48PM +0200, Patrick McHardy wrote: On 20.06, Pablo Neira Ayuso wrote: On Fri, Jun 19, 2015 at 02:03:39PM -0500, Eric W. Biederman wrote: Add code to nf_unregister_hook to flush the nf_queue when a hook is unregistered. This guarantees that the pointer

Re: linux-next: build warnings after merge of the net-next tree

2015-06-20 Thread Florian Westphal
Stephen Rothwell s...@canb.auug.org.au wrote: After merging the net-next tree, today's linux-next build (i386 defconfig) produced these warnings: In file included from include/net/netfilter/nf_conntrack_tuple.h:13:0, from include/linux/netfilter/nf_conntrack_dccp.h:28,

Re: linux-next: build warnings after merge of the net-next tree

2015-06-20 Thread Pablo Neira Ayuso
On Sat, Jun 20, 2015 at 07:40:03PM +0200, Florian Westphal wrote: [...] Introduced by commit: 71ae0dff02d7 (netfilter: xtables: use percpu rule counters) Yes, sorry about this, should be fixed by dcb8f5c8139ef945cdfd (netfilter: xtables: fix warnings on 32bit platforms). There's a

Gift

2015-06-20 Thread zdtjd
Good news tv,moto,cellphone,gultar the shipping is free samsung 6, € 320 s i te: isgayre. com N�r��yb�X��ǧv�^�)޺{.n�+���z�^�)

Re: [PATCH net-next 2/3] ipv4: L3 and L4 hash-based multipath routing

2015-06-20 Thread Peter Nørlund
On Thu, 18 Jun 2015 15:52:22 -0700 Alexander Duyck alexander.h.du...@redhat.com wrote: On 06/17/2015 01:08 PM, Peter Nørlund wrote: This patch adds L3 and L4 hash-based multipath routing, selectable on a per-route basis with the reintroduced RTA_MP_ALGO attribute. The default is now

Re: [PATCHv2 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-20 Thread Fabio Estevam
On Sat, Jun 20, 2015 at 1:15 PM, Andrew Lunn and...@lunn.ch wrote: @@ -1764,6 +1765,11 @@ static int fec_enet_mdio_read(struct mii_bus *bus, int mii_id, int regnum) { struct fec_enet_private *fep = bus-priv; unsigned long time_left; + int ret; + + ret =

Re: [PATCHv2 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-20 Thread Andrew Lunn
On Sat, Jun 20, 2015 at 02:47:20PM -0300, Fabio Estevam wrote: On Sat, Jun 20, 2015 at 1:15 PM, Andrew Lunn and...@lunn.ch wrote: @@ -1764,6 +1765,11 @@ static int fec_enet_mdio_read(struct mii_bus *bus, int mii_id, int regnum) { struct fec_enet_private *fep = bus-priv;

[PATCH] dsa: mv88x6xxx: Zero statistics counters

2015-06-20 Thread Andrew Lunn
Zero the statistics counters when setting up the global registers. Otherwise the counters will remain from the last boot if the power has not been removed. Signed-off-by: Andrew Lunn and...@lunn.ch --- This patch will only cleanly apply after the debug series. There is no actual dependency, so

[Patch] ax88179_178a: add reset functionality in reset_resume

2015-06-20 Thread Vivek Bhagat
Dear All, Attached patch fix iperf connection problem after reset resume of ethernet to usb dongle. Without reset functionality, i see ping works after reset resume but iperf connection fails with wrong checksum error message shown by tcpdump. Attached patch fix above issue. Thanks, Vivek

Re: [PATCH net-next 1/3] ipv4: Lock-less per-packet multipath

2015-06-20 Thread Peter Nørlund
On Thu, 18 Jun 2015 12:42:05 -0700 Alexander Duyck alexander.h.du...@redhat.com wrote: On 06/17/2015 01:08 PM, Peter Nørlund wrote: The current multipath attempted to be quasi random, but in most cases it behaved just like a round robin balancing. This patch refactors the algorithm to be

[PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-20 Thread Andrew Lunn
When a switch is attached to the mdio bus, the mdio bus can be used while the interface is not open. If the IPG clock are not enabled, MDIO reads/writes will simply time out. So enable the clock before starting a transaction, and disable it afterwards. The CCF performs reference counting so the

Re: [PATCH net] netfilter: nf_queue: Don't recompute the hook_list head

2015-06-20 Thread Pablo Neira Ayuso
On Sat, Jun 20, 2015 at 09:08:20AM -0500, Eric W. Biederman wrote: Pablo Neira Ayuso pa...@netfilter.org writes: On Fri, Jun 19, 2015 at 05:23:37PM -0500, Eric W. Biederman wrote: If someone sends packets from one of the netdevice ingress hooks to the a userspace queue, and then

Re: [PATCH] net: inet_diag: export IPV6_V6ONLY sockopt

2015-06-20 Thread Phil Sutter
On Fri, Jun 19, 2015 at 06:52:00AM -0700, Eric Dumazet wrote: On Fri, 2015-06-19 at 14:15 +0200, Phil Sutter wrote: For AF_INET6 sockets, the value of struct ipv6_pinfo.ipv6only is exported to userspace. It indicates whether an unbound socket listens on IPv4 as well as IPv6. What is an

Re: [PATCHv2 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-20 Thread Florian Fainelli
Le 06/20/15 09:15, Andrew Lunn a écrit : When a switch is attached to the mdio bus, the mdio bus can be used while the interface is not open. If the IPG clock are not enabled, MDIO reads/writes will simply time out. So enable the clock before starting a transaction, and disable it afterwards.

Re: displayed name changed in ip link show for bridge- and other interfaces

2015-06-20 Thread Oliver Hartkopp
On 06/17/2015 09:26 AM, Nicolas Dichtel wrote: Le 16/06/2015 19:35, Oliver Hartkopp a écrit : On 15.06.2015 17:54, Stephen Hemminger wrote: On Mon, 15 Jun 2015 11:13:12 +0200 Nicolas Dichtel nicolas.dich...@6wind.com wrote: Theoretically, virtual interfaces should advertise an IFLA_LINK to

Re: [PATCH 00/12] Netfilter updates for net-next

2015-06-20 Thread David Miller
From: Pablo Neira Ayuso pa...@netfilter.org Date: Fri, 19 Jun 2015 19:17:37 +0200 The following patchset contains a final Netfilter pull request for net-next 4.2. This mostly addresses some fallout from the previous pull request, small netns updates and a couple of new features for

[PATCH v2 1/1] net: fs_enet: Fix NETIF_F_SG feature for Freescale MPC5121

2015-06-20 Thread Alexander Popov
Commit 4fc9b87bae25 (net: fs_enet: Implement NETIF_F_SG feature) brings a trouble to Freescale MPC512x: a kernel oops happens during sending non-linear sk_buff with .data not aligned by 4. Log quotation: Unable to handle kernel paging request for data at address 0xe467c000 Faulting instruction

Re: [PATCH] can: fix loss of frames due to wrong assumption in raw_rcv

2015-06-20 Thread Oliver Hartkopp
Hello Manfred, On 06/20/2015 07:21 PM, Manfred Schlaegl wrote: I've detected a massive loss of can frames on i.MX6 using flexcan driver with 4.1-rc8 and tracked this down to following commit: 514ac99c64b22d83b52dfee3b8becaa69a92bc4a - can: fix multiple delivery of a single CAN frame for

Re: [PATCH net-next 0/3 v5] changes to make ipv4 routing table aware of next-hop link status

2015-06-20 Thread Scott Feldman
On Thu, Jun 18, 2015 at 12:39 PM, Andy Gospodarek go...@cumulusnetworks.com wrote: On Thu, Jun 18, 2015 at 10:51:37AM -0700, Scott Feldman wrote: On Thu, Jun 18, 2015 at 8:22 AM, Andy Gospodarek go...@cumulusnetworks.com wrote: This series adds the ability to have the Linux kernel track

Re: [PATCH net-next 0/3 v5] changes to make ipv4 routing table aware of next-hop link status

2015-06-20 Thread Scott Feldman
On Thu, Jun 18, 2015 at 8:22 AM, Andy Gospodarek go...@cumulusnetworks.com wrote: This series adds the ability to have the Linux kernel track whether or not a particular route should be used based on the link-status of the interface associated with the next-hop. [cut] Andy Gospodarek (3):