[PATCH net 1/1] tipc: allow non-linear first fragment buffer

2015-10-19 Thread Jon Maloy
The current code for message reassembly is erroneously assuming that the the first arriving fragment buffer always is linear, and then goes ahead resetting the fragment list of that buffer in anticipation of more arriving fragments. However, if the buffer already happens to be non-linear, we will

[PATCH net v3] openvswitch: Allocate memory for ovs internal device stats.

2015-10-19 Thread James Morse
"openvswitch: Remove vport stats" removed the per-vport statistics, in order to use the netdev's statistics fields. "openvswitch: Fix ovs_vport_get_stats()" fixed the export of these stats to user-space, by using the provided netdev_ops to collate them - but ovs internal devices still use an unallo

[PATCH] net: Really fix vti6 with oif in dst lookups

2015-10-19 Thread David Ahern
6e28b000825d ("net: Fix vti use case with oif in dst lookups for IPv6") is missing the checks on FLOWI_FLAG_SKIP_NH_OIF. Add them. Fixes: 42a7b32b73d6 ("xfrm: Add oif to dst lookups") Cc: Steffen Klassert Signed-off-by: David Ahern --- This is needed for net in 4.3. 6e28b000825d was mistakenly c

Re: SoCFPGA ethernet broken

2015-10-19 Thread Dinh Nguyen
+CC Giuseppe Cavallaro +CC STi and Rockchip Maintainers This is approaching beyond my breadth of knowledge on this subject, so I just wanted to get some further insight. On Fri, 16 Oct 2015, Andrew Lunn wrote: > > > Maybe we need to walk up the hierarchy. > > > > > > Perhaps something like: > >

Re: [PATCH v2 1/3] unix: fix use-after-free in unix_dgram_poll()

2015-10-19 Thread Jason Baron
On 10/18/2015 04:58 PM, Rainer Weikusat wrote: [...] > > The idea behind 'the wait queue' (insofar I'm aware of it) is that it > will be used as list of threads who need to be notified when the > associated event occurs. Since you seem to argue that the run-of-the-mill > algorithm is too slow fo

sh_eth.c::sh_eth_rx(): mdp->rx_skbuff[entry] can be NULL

2015-10-19 Thread Yasushi SHOJI
Hi, In a low memory situation with netdev_alloc_skb() failure, mdp->rx_skbuff[entry] can be left NULL, however, sh_eth_rx() seems to access it without checking NULL or not in the following code: skb = mdp->rx_skbuff[entry]; mdp->rx_skbuff[entry] = N

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-19 Thread Daniel Borkmann
On 10/19/2015 11:51 AM, Daniel Borkmann wrote: On 10/19/2015 09:36 AM, Hannes Frederic Sowa wrote: On Sun, Oct 18, 2015, at 22:59, Alexei Starovoitov wrote: On 10/18/15 9:49 AM, Daniel Borkmann wrote: Okay, I have pushed some rough working proof of concept here: https://git.breakpoint.cc/cgit

Re: [PATCH net-next] Adding switchdev ageing notification on port bridged

2015-10-19 Thread Jiri Pirko
Mon, Oct 19, 2015 at 02:37:25PM CEST, el...@mellanox.com wrote: >Configure ageing time to the HW for newly bridged device > >CC: Scott Feldman >CC: Jiri Pirko >Signed-off-by: Elad Raz Acked-by: Jiri Pirko -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a mes

Re: [PATCH] allow dctcp alpha to drop to zero

2015-10-19 Thread Florian Westphal
Andrew Shewmaker wrote: > If alpha is strictly reduced by alpha >> dctcp_shift_g and if alpha is less > than 1 << dctcp_shift_g, then alpha may never reach zero. For example, > given shift_g=4 and alpha=15, alpha >> dctcp_shift_g yields 0 and alpha > remains 15. The effect isn't noticeable in this

Re: [PATCH v2 1/1] xen-netfront: update num_queues to real created

2015-10-19 Thread Boris Ostrovsky
On 10/19/2015 01:37 AM, Joe Jin wrote: Sometimes xennet_create_queues() may failed to created all requested queues, we need to update num_queues to real created to avoid NULL pointer dereference. Signed-off-by: Joe Jin Cc: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk Cc: Wei Liu Cc: Ian Campbel

[PATCH net 1/1] tipc: extend broadcast link window size

2015-10-19 Thread Jon Maloy
The default fix broadcast window size is currently set to 20 packets. This is a very low value, set at a time when we were still testing on 10 Mb/s hubs, and a change to it is long overdue. Commit 7845989cb4b3da1db ("net: tipc: fix stall during bclink wakeup procedure") revealed a problem with thi

Re: [PATCH 1/2] NFC: delete null dereference

2015-10-19 Thread Dan Carpenter
The next goto after that is messed up as well: 1056 dev = nfc_get_device(idx); 1057 if (!dev) 1058 return -ENODEV; 1059 1060 device_lock(&dev->dev); 1061 1062 local = nfc_llcp_find_local(dev); 1063 if (!local) { 10

Re: [PATCH 3/3] CDC parser: add dependencies

2015-10-19 Thread kbuild test robot
Hi Oliver, [auto build test WARNING on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Oliver-Neukum/cdc-acm-use-the-common-parser-for-all-CDC-drivers/20151019-195318 config: x

[PATCH net-next] Adding switchdev ageing notification on port bridged

2015-10-19 Thread Elad Raz
Configure ageing time to the HW for newly bridged device CC: Scott Feldman CC: Jiri Pirko Signed-off-by: Elad Raz --- net/bridge/br_stp_if.c | 12 1 file changed, 12 insertions(+) diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c index 4ca449a..fa53d7a 100644 --- a/net

[PATCH] usbnet: removed USB_USBNET as a config option

2015-10-19 Thread Oliver Neukum
usbnet drives no devices of its own. It makes more sense to select it whenever a driver for actual hardware that needs it is chosen rather than offer it as an option of its own. Signed-off-by: Oliver Neukum --- drivers/net/usb/Kconfig | 75 +++-- 1 fil

2% interest rate Loan Offer

2015-10-19 Thread Global_loan
Good day to you, We are Global financial Group formed to help those in need of financial help of any kind. contact us for an urgent loan of any kind at 2% interest rate. Email us on globalservi...@financier.com Dr Mrs Elizabeth Duke CEO -- To unsubscribe from this list: send the line "unsubscri

[PATCH 1/3] cdc-acm: use the common parser for all CDC drivers

2015-10-19 Thread Oliver Neukum
From: Oliver Neukum Use the common parser in CDC-ACM for code depuplication Signed-off-by: Oliver Neukum --- drivers/usb/class/cdc-acm.c | 66 +++-- 1 file changed, 9 insertions(+), 57 deletions(-) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/

[PATCHv2: 0 / 3] introducing the common CDC parser to other drivers

2015-10-19 Thread Oliver Neukum
This series introduces the common CDC parser into the CDC tty and serial drivers. As it depends on the common parser in the netdev tree, Greg agreed for this to go through the netdev tree. Signed-off-by: Oliver Neukum -- To unsubscribe from this list: send the line "unsubscribe netdev" in the bod

[PATCH 2/3] cdc-wdm: use common CDC parser

2015-10-19 Thread Oliver Neukum
From: Oliver Neukum cdc-wdm can use the common parser for the CDC extra header. Code duplication is reduced. Signed-off-by: Oliver Neukum --- drivers/usb/class/cdc-wdm.c | 29 - 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/drivers/usb/class/cdc-wdm

[PATCH 3/3] CDC parser: add dependencies

2015-10-19 Thread Oliver Neukum
Using the common parser for CDC extra headers means that cdc-acm and cdc-wdm need to select usbnet Signed-off-by: Oliver Neukum --- drivers/net/usb/Kconfig | 10 +- drivers/usb/class/Kconfig | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/net/usb/Kconfig

Re: kernel warning in tcp_fragment

2015-10-19 Thread Jovi Zhangwei
Hi Martin and Eric, Do we have a final solution or patch for this issue? There have so many this warnings in our production systems. Thank you very much. On Tue, Oct 13, 2015 at 4:55 PM, Jovi Zhangwei wrote: > Hi all, > > Is there have final patch to fix this issue? Thanks. > > On Mon, Sep 14,

[PATCH V4 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-19 Thread Kaixu Xia
This patch adds the flag soft_enable to control the trace data output process when perf sampling. By setting this flag and integrating with ebpf, we can control the data output process and get the samples we are most interested in. The bpf helper bpf_perf_event_control() can control either the per

[PATCH V4 0/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-19 Thread Kaixu Xia
Previous patch V3 url: https://lkml.org/lkml/2015/10/16/101 This patchset introduces the new perf_event_attr attribute 'soft_disable'. The already existed 'disabled' flag doesn't meet the requirements. The cpu_function_call is too much to do from bpf program and we control the perf_event stored

Re: cannot classify vlanned traffic using tc-ematch

2015-10-19 Thread Ido Barkan
For whom that this might be interesting, the missing part was a prfix of the flowid: $ tc filter replace dev eno2 protocol all parent 1389: pref 168 basic match 'meta(vlan eq 168)' flowid 1389:a8 Thanks, Ido On Thu, Oct 15, 2015 at 2:08 PM, Ido Barkan wrote: > Hi all, > > We want to support hos

Re: [PATCH 3.19 and earlier] fib_rules: Fix dump_rules() not to exit early

2015-10-19 Thread Luis Henriques
On Mon, Oct 05, 2015 at 10:29:28AM -0700, Roland Dreier wrote: > From: Roland Dreier > > Backports of 41fc014332d9 ("fib_rules: fix fib rule dumps across > multiple skbs") introduced a regression in "ip rule show" - it ends up > dumping the first rule over and over and never exiting, because 3.19

Re: [STABLE] Please backport asix (USB Ethernet) fixes

2015-10-19 Thread Luis Henriques
On Mon, Oct 05, 2015 at 05:09:36PM +0100, Ian Campbell wrote: > Hi David + stable@, > > Please could these two be backported: > 3cc81d85ee01 "asix: Don't reset PHY on if_up for ASIX 88772" > 436c2a5036b6 "asix: Do full reset during ax88772_bind" > > 3cc81d85ee01 was in v3.18-rc1 while 436c2a5036b

[patch] irda: precedence bug in irlmp_seq_hb_idx()

2015-10-19 Thread Dan Carpenter
This is decrementing the pointer, instead of the value stored in the pointer. KASan detects it as an out of bounds reference. Reported-by: "Berry Cheng 程君(成淼)" Signed-off-by: Dan Carpenter --- This bug predates the start of git. You would think it would have been reported earlier since it look

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-19 Thread Daniel Borkmann
On 10/19/2015 09:36 AM, Hannes Frederic Sowa wrote: Hi, On Sun, Oct 18, 2015, at 22:59, Alexei Starovoitov wrote: On 10/18/15 9:49 AM, Daniel Borkmann wrote: Okay, I have pushed some rough working proof of concept here: https://git.breakpoint.cc/cgit/dborkman/net-next.git/log/?h=ebpf-fds-fina

Re: Cash Awaiting Pick-Up

2015-10-19 Thread Western Union
This is to re-notify you of the £500,000.00(POUNDS) That was deposited at western union office in your name is available for pickup. Contact this email: accountoffic...@qq.com for your M.T.C.N Numbers. Contact Person: Mrs. Hillary Florence Email: accountoffic...@qq.com -- To unsubscribe from thi

Re: [PATCH net] net: try harder to not reuse ifindex when moving interfaces

2015-10-19 Thread Jiri Benc
On Sun, 18 Oct 2015 08:11:58 -0700, Alexei Starovoitov wrote: > it looks dangerous. > Does it mean that 'for (4B) { create new dev; free old dev; } > will keep incrementing that max index and dos it eventually? This is not changed by this patch in any way. As for the current behavior (with or with

Re: [PATCHv2 net 2/3] openvswitch: Treat IP_CT_RELATED as new

2015-10-19 Thread Thomas Graf
On 10/19/15 at 12:07am, Joe Stringer wrote: > > I'm probably missing something obvious. Why is the reply direction > > not considered NEW? Wouldn't this consider an ICMPv6 as related+new > > depending on simply the direction? > > My thoughts were along the lines "If something is a reply, that > im

Re: [RFC] bpf: change bpf syacall to use u64 temp variables

2015-10-19 Thread Daniel Borkmann
On 10/19/2015 09:10 AM, yalin wang wrote: This patch change map_lookup_elem() and map_update_elem() function to use u64 temp variable if the key_size or value_size is less than u64, we don't need use kmalloc() for these small variables. Signed-off-by: yalin wang From an application PoV that h

Re: [patch net-next v5 5/8] switchdev: introduce possibility to defer obj_add/del

2015-10-19 Thread Jiri Pirko
Mon, Oct 19, 2015 at 09:55:59AM CEST, sfel...@gmail.com wrote: >On Wed, Oct 14, 2015 at 10:40 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Similar to the attr usecase, the caller knows if he is holding RTNL and is >> in atomic section. So let the called to decide the correct call variant. >> >

Re: [PATCH net-next] net: Fix vti use case with oif in dst lookups for IPv6

2015-10-19 Thread Steffen Klassert
On Mon, Oct 12, 2015 at 12:49:29PM -0600, David Ahern wrote: > On 10/9/15 11:27 AM, David Ahern wrote: > >On 10/9/15 1:17 AM, Steffen Klassert wrote: > diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c > index 30caa289c5db..5cedfda4b241 100644 > --- a/net/ipv6/xfrm6_policy.

Re: [patch net-next v5 5/8] switchdev: introduce possibility to defer obj_add/del

2015-10-19 Thread Scott Feldman
On Wed, Oct 14, 2015 at 10:40 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Similar to the attr usecase, the caller knows if he is holding RTNL and is > in atomic section. So let the called to decide the correct call variant. > > This allows drivers to sleep inside their ops and wait for hw to get

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-19 Thread Hannes Frederic Sowa
Hi, On Sun, Oct 18, 2015, at 22:59, Alexei Starovoitov wrote: > On 10/18/15 9:49 AM, Daniel Borkmann wrote: > > Okay, I have pushed some rough working proof of concept here: > > > > https://git.breakpoint.cc/cgit/dborkman/net-next.git/log/?h=ebpf-fds-final5 > > > > So the idea eventually had to be

Re: [PATCH] net, can, ti_hecc: add DT support for the ti,hecc controller

2015-10-19 Thread Marc Kleine-Budde
On 10/19/2015 09:27 AM, Heiko Schocher wrote: >>> .../devicetree/bindings/net/can/ti_hecc-can.txt| 20 ++ >>> arch/arm/boot/dts/am3517.dtsi | 13 +++ >>> drivers/net/can/ti_hecc.c | 45 >>> +- >>> 3 files change

Re: [PATCH] net, can, ti_hecc: add DT support for the ti,hecc controller

2015-10-19 Thread Heiko Schocher
Hello Marc, Am 19.10.2015 um 08:58 schrieb Marc Kleine-Budde: On 10/19/2015 08:39 AM, Heiko Schocher wrote: add DT support for the ti hecc controller, used on am3517 SoCs. A similar patch was posted a few days ago, see http://comments.gmane.org/gmane.linux.can/8616 and my comments. Uh, sorr

Re: [GIT PULL] ARCNET: features and fixes

2015-10-19 Thread Michael Grzeschik
Hi David, On Sun, Oct 18, 2015 at 08:19:42PM -0700, David Miller wrote: > From: Michael Grzeschik > Date: Fri, 16 Oct 2015 13:00:54 +0200 > > > This series includes some small fixes. The main changes are the correct > > xceiver handling (enable/disable) of the com20020 cards. The driver now > >

[RFC] bpf: change bpf syacall to use u64 temp variables

2015-10-19 Thread yalin wang
This patch change map_lookup_elem() and map_update_elem() function to use u64 temp variable if the key_size or value_size is less than u64, we don't need use kmalloc() for these small variables. Signed-off-by: yalin wang --- kernel/bpf/syscall.c | 30 -- 1 file change

Re: [PATCHv2 net 2/3] openvswitch: Treat IP_CT_RELATED as new

2015-10-19 Thread Joe Stringer
On 17 October 2015 at 00:52, Thomas Graf wrote: > On 10/16/15 at 11:08am, Joe Stringer wrote: >> New, related connections are marked as such as part of ovs_ct_lookup(), >> but they are not marked as "new" if the commit flag is used. Make this >> consistent by treating IP_CT_RELATED as new as well.

<    1   2