Re: [PATCH 1/4] net: hix5hd2_gmac: add tx scatter-gather feature

2016-08-14 Thread Dongpo Li
Hi Rob, Many thanks for your review. On 2016/8/13 2:43, Rob Herring wrote: > On Thu, Aug 11, 2016 at 05:01:52PM +0800, Dongpo Li wrote: >> From: Li Dongpo >> >> The "hix5hd2" is SoC name, add the generic ethernet driver name. >> The "hisi-gemac-v1" is the basic version and "hisi-gemac-v2" adds >>

[PATCH] fjes: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 08:34:56 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/net/fjes/fjes_main.c | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH] rhashtable: fix shift by 64 when shrinking

2016-08-14 Thread Herbert Xu
On Fri, Aug 12, 2016 at 08:10:44PM +0200, Vegard Nossum wrote: > I got this: > > > > UBSAN: Undefined behaviour in ./include/linux/log2.h:63:13 > shift exponent 64 is too large for 64-bit type 'long unsig

Re: [RFC net-next 0/2] net/sched: cls_flower, act_mirred: VXLAN redirect using TC

2016-08-14 Thread John Fastabend
On 16-08-14 10:53 AM, Cong Wang wrote: > On Sun, Aug 14, 2016 at 7:06 AM, Amir Vadai wrote: >> tc qdisc add dev $ETH ingress >> >> # ENCAP rule for ARP >> tc filter add dev $ETH protocol 0x806 parent : prio 11 \ >> flower \ >> action mirred egress redirect dev $

Re: [PATCH] mlxsw: spectrum_router: Fix use after free

2016-08-14 Thread David Miller
From: Vincent Stehlé Date: Sun, 14 Aug 2016 15:38:29 +0200 > In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used > after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary > variable to fix this. > > Fixes: 61c503f976b5449e ("mlxsw: spectrum_router: Implemen

Re: [RFC 1/2] netvsc: reference counting fix

2016-08-14 Thread David Miller
From: Stephen Hemminger Date: Sat, 13 Aug 2016 11:35:59 -0700 > This is how I think it should be fixed, but not tested yet. > > Subjec: netvsc: use device not module reference counts > > Fix how the cross-device reference counting is handled. When VF is > associated with the synthetic interfac

Re: [PATCH -next] net: macb: add missing free_netdev() on error in macb_probe()

2016-08-14 Thread David Miller
From: Wei Yongjun Date: Fri, 12 Aug 2016 15:43:54 + > Add the missing free_netdev() before return from function macb_probe() > in the platform_get_irq() error handling case. > > Fixes: c69618b3e4f2 ("net/macb: fix probe sequence to setup clocks earlier") > Signed-off-by: Wei Yongjun Applie

Re: [PATCH -next] net: dsa: b53: remove .owner and .bus fields for driver

2016-08-14 Thread David Miller
From: Wei Yongjun Date: Fri, 12 Aug 2016 15:46:57 + > Remove .owner and .bus fields since module_spi_driver() is used > which set them automatically. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Wei Yongjun Applied.

Re: [PATCH -next] qed: Fix possible memory leak in qed_dcbnl_get_ieee_pfc()

2016-08-14 Thread David Miller
From: Wei Yongjun Date: Thu, 11 Aug 2016 23:29:54 + > 'dcbx_info is malloced in qed_dcbnl_get_ieee_pfc() and should be freed > before leaving from the error handling cases, otherwise it will cause > memory leak. > > Fixes: a1d8d8a51e83 ("qed: Add dcbnl support.") > Signed-off-by: Wei Yongjun

Re: [PATCHv5 net-next 0/2] Add support for IFLA_VF_MAC

2016-08-14 Thread David Miller
Series applied, thanks.

Re: [PATCH] rhashtable: avoid large lock-array allocations

2016-08-14 Thread David Miller
From: Florian Westphal Date: Fri, 12 Aug 2016 12:03:52 +0200 > Sander reports following splat after netfilter nat bysrc table got > converted to rhashtable: Just to be clear I did apply this version. Please put something like "v2" or similar in your subject lines in the future, that'll make it

Re: [PATCH net] rhashtable: avoid large lock-array allocations

2016-08-14 Thread David Miller
From: Florian Westphal Date: Fri, 12 Aug 2016 04:13:43 +0200 > Sander reports following splat after netfilter nat bysrc table got > converted to rhashtable: > > swapper/0: page allocation failure: order:3, > mode:0x2084020(GFP_ATOMIC|__GFP_COMP) > CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.8.

Re: [PATCH v2 0/3] Make /proc per net namespace objects belong to container

2016-08-14 Thread David Miller
From: Dmitry Torokhov Date: Wed, 10 Aug 2016 14:35:59 -0700 > Currently [almost] all /proc objects belong to the global root, even if > data belongs to a given namespace within a container and (at least for > sysctls) we work around permssions checks to allow container's root to > access the data

Re: [RFC 0/4] RFC: Add Checmate, BPF-driven minor LSM

2016-08-14 Thread Mickaël Salaün
Hi, I've been working on an extension to seccomp-bpf since last year and published a first RFC about it [1]. I'm working on a second RFC/PoC which use eBPF instead of cBPF and is more close to a common LSM than the first RFC. I plan to publish this second RFC by the end of the month. Our appro

Re: [PATCH net-next 2/2] tools lib bpf: export function to set type

2016-08-14 Thread Wangnan (F)
On 2016/8/13 20:17, Eric Leblond wrote: Current API was not allowing the user to set a type like socket filter. To avoid a setter function for each type, the patch simply exports a set function that takes the type in parameter. Signed-off-by: Eric Leblond --- tools/lib/bpf/libbpf.c | 15 +++

Re: [PATCH net-next 1/2] tools lib bpf: suppress useless include

2016-08-14 Thread Wangnan (F)
On 2016/8/13 20:17, Eric Leblond wrote: The include of err.h is not explicitely needed in exported functions and it was causing include conflict with some existing code due to redefining some macros. Signed-off-by: Eric Leblond --- tools/lib/bpf/libbpf.c | 1 + tools/lib/bpf/libbpf.h | 1 -

Re: [RFC 0/4] RFC: Add Checmate, BPF-driven minor LSM

2016-08-14 Thread Sargun Dhillon
On Mon, Aug 15, 2016 at 12:57:44AM +0200, Mickaël Salaün wrote: > Hi, > > I've been working on an extension to seccomp-bpf since last year and > published > a first RFC about it [1]. I'm working on a second RFC/PoC which use eBPF > instead of cBPF and is more close to a common LSM than the firs

[PATCH] xfrm: Only add l3mdev oif to dst lookups

2016-08-14 Thread David Ahern
Subash reported that commit 42a7b32b73d6 ("xfrm: Add oif to dst lookups") broke a wifi use case that uses fib rules and xfrms. The intent of 42a7b32b73d6 was driven by VRFs with IPsec. As a compromise relax the use of oif in xfrm lookups to L3 master devices only (ie., oif is either an L3 master de

Re: [PATCH net-next 1/4] flow_dissector: Get vlan info from skb->vlan_tci instead of skb->data

2016-08-14 Thread Toshiaki Makita
On 16/08/14 (日) 23:58, Hadar Hen Zion wrote: On Fri, Aug 12, 2016 at 9:36 AM, Toshiaki Makita wrote: On 2016/08/10 22:32, Hadar Hen Zion wrote: Early in the datapath skb_vlan_untag function is called, stripped the vlan from the skb and set skb->vlan_tci and skb->vlan_proto fields. The current

Re: Faith For Charity

2016-08-14 Thread Mrs. Maimouna Farooq
Dearly Beloved, I am very glad to write you this mail, my name is Mrs. Maimouna Farooq, and I am from Omani ancestral origin living in Abidjan for many years with my family. I am a good merchant; I have companies and good shares in various banks. I spend all my life on investment and Real Estat

Re: [PATCH net-next 0/2] libbpf: minor fix and API update

2016-08-14 Thread Wangnan (F)
I think you should cc linux-ker...@vger.kernel.org for code in tools/ . Thank you. On 2016/8/13 20:17, Eric Leblond wrote: Hello, Here's a small patchset on libbpf fixing two issues I've encountered when adding some eBPF related features to Suricata. Patchset statistics: tools/lib/bpf/libbp

Loan Application

2016-08-14 Thread Lisa Collins
Do You Need A Loan Of Any Kind ? If Yes Email Now For More Info on internationalloanp...@gmail.com Benötigen Sie ein Darlehen jeglicher Art? Wenn ja E-Mail jetzt für mehr Info auf internationalloanp...@gmail.com

linux-next: manual merge of the net-next tree with the net tree

2016-08-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/verifier.c between commit: 747ea55e4f78 ("bpf: fix bpf_skb_in_cgroup helper naming") from the net tree and commit: 60d20f9195b2 ("bpf: Add bpf_current_task_under_cgroup helper") from the net-next tree.

Re: [PATCH v2 1/1] VSOCK: remove more space available check filling TX vq

2016-08-14 Thread Michael S. Tsirkin
On Wed, Aug 10, 2016 at 05:24:34PM +0200, ggar...@abra.uab.cat wrote: > From: Gerard Garcia > > Remove unnecessary use of enable/disable callback notifications > and the incorrect more space available check. > > The virtio_transport_tx_work handles when the TX virtqueue > has more buffers availa

Re: [PATCH v2 0/3] VSOCK: vsockmon virtual device to monitor AF_VSOCK sockets.

2016-08-14 Thread Michael S. Tsirkin
On Sat, Aug 13, 2016 at 12:21:51PM +0200, ggar...@abra.uab.cat wrote: > From: Gerard Garcia > > This patch applies over the mst vhost git repository: > http://git.kernel.org/cgit/linux/kernel/git/mst/vhost.git So I do like where this is going, but it gives me pause that there's a global list of

ATTN: CONFERENCE INVITATION IN UNITED STATES

2016-08-14 Thread James
Dear Friend, The kick-out HIV/AIDS 2016 Initiative in partnership with IHC (International Health Care organization) located at International Public Engagement, Institute for International Health Care, University College Washinton U.S.A. is Organizing a Health Care conference on HIV and its prev

Re: [RFC net-next 0/2] net/sched: cls_flower, act_mirred: VXLAN redirect using TC

2016-08-14 Thread Cong Wang
On Sun, Aug 14, 2016 at 7:06 AM, Amir Vadai wrote: > tc qdisc add dev $ETH ingress > > # ENCAP rule for ARP > tc filter add dev $ETH protocol 0x806 parent : prio 11 \ > flower \ > action mirred egress redirect dev $VXLAN enc_src_ip 11.11.0.1 > enc_dst_ip 11.11.

Re: [PATCH] mlxsw: spectrum_router: Fix use after free

2016-08-14 Thread Ido Schimmel
On Sun, Aug 14, 2016 at 03:38:29PM +0200, Vincent Stehlé wrote: > In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used > after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary > variable to fix this. > > Fixes: 61c503f976b5449e ("mlxsw: spectrum_router: Imple

Re: [PATCH 2/2 (linux-stable-4.5.y)] stmmac: fix MDIO settings

2016-08-14 Thread Greg KH
On Mon, May 23, 2016 at 03:17:43PM +0200, Giuseppe Cavallaro wrote: > Initially the phy_bus_name was added to manipulate the > driver name but it was recently just used to manage the > fixed-link and then to take some decision at run-time. > So the patch uses the is_pseudo_fixed_link and removes >

Re: [PATCH 1/2 (linux-stable-4.5.y)] Revert "stmmac: Fix 'eth0: No PHY found' regression"

2016-08-14 Thread Greg KH
On Mon, May 23, 2016 at 03:17:42PM +0200, Giuseppe Cavallaro wrote: > From: Giuseppe CAVALLARO > > This reverts commit 88f8b1bb41c6208f81b6a480244533ded7b59493. > due to problems on GeekBox and Banana Pi M1 board when > connected to a real transceiver instead of a switch via > fixed-link. > > Si

Re: [PATCH net-next 1/4] flow_dissector: Get vlan info from skb->vlan_tci instead of skb->data

2016-08-14 Thread Hadar Hen Zion
On Fri, Aug 12, 2016 at 9:36 AM, Toshiaki Makita wrote: > On 2016/08/10 22:32, Hadar Hen Zion wrote: >> Early in the datapath skb_vlan_untag function is called, stripped >> the vlan from the skb and set skb->vlan_tci and skb->vlan_proto fields. >> >> The current dissection doesn't handle vlan pack

[RFC net-next 2/2] net/sched: act_mirred: Introduce vxlan support

2016-08-14 Thread Amir Vadai
From: Amir Vadai > Signed-off-by: Amir Vadai > --- include/net/tc_act/tc_mirred.h| 5 +++ include/uapi/linux/tc_act/tc_mirred.h | 7 net/sched/act_mirred.c| 79 +++ 3 files changed, 91 insertions(+) diff --git a/include/net/tc_act/tc

[RFC net-next 1/2] net/sched: cls_flower: Introduce classify by vxlan outer headers

2016-08-14 Thread Amir Vadai
From: Amir Vadai > Signed-off-by: Amir Vadai > --- include/uapi/linux/pkt_cls.h | 11 + net/sched/cls_flower.c | 53 2 files changed, 64 insertions(+) diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h index d1c1cca

[RFC net-next 0/2] net/sched: cls_flower, act_mirred: VXLAN redirect using TC

2016-08-14 Thread Amir Vadai
From: Amir Vadai > Hi, I would like to make it possible to manage VXLAN encap/decap using the flower classifier, mirred action and vxlan device. In order to make the solution scaleable, I'm using a shared vxlan device, with encapsulation information packed in the metadata - by the mirred action i

[PATCH] mlxsw: spectrum_router: Fix use after free

2016-08-14 Thread Vincent Stehlé
In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary variable to fix this. Fixes: 61c503f976b5449e ("mlxsw: spectrum_router: Implement fib4 add/del switchdev obj ops") Signed-off-by: Vincent Stehlé Cc:

[PATCH 3/6]NET:AX25:ROSE Traps calls to rose_route_frame with a NULL ax25 callback

2016-08-14 Thread f6bvp
Hi Richard, Thanks for this patch and all others for ROSE code you sent recently. I already committed a similar one in february 2016. Subject: [Patch] rose_route_frame() NULL pointer dereference kernel panic From: f6bvp Date: Wed, 24 Feb 2016 17:53:11 +0100 Cc: Ralf Baechle , "'f6bvp'" , davem

Re: [Patch net v4 6/7] net_sched: unify the init logic for act_police

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:35 AM, Cong Wang wrote: Jamal reported a crash when we create a police action with a specific index, this is because the init logic is not correct, we should always create one for this case. Just unify the logic with other tc actions. Fixes: a03e6fe56971 ("act_police: fix a crash

Re: [Patch net v4 7/7] net_sched: allow flushing tc police actions

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:35 AM, Cong Wang wrote: From: Roman Mashak The act_police uses its own code to walk the action hashtable, which leads to that we could not flush standalone tc police actions, so just switch to tcf_generic_walker() like other actions. (Joint work from Roman and Cong.) Signed-off

Re: [Patch net v4 1/7] net_sched: remove the leftover cleanup_a()

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:34 AM, Cong Wang wrote: After refactoring tc_action into tcf_common, we no longer need to cleanup temporary "actions" in list, they are permanently stored in the hashtable. Fixes: a85a970af265 ("net_sched: move tc_action into tcf_common") Reported-by: Jamal Hadi Salim Cc: Jamal H

Re: [Patch net v4 2/7] net_sched: remove an unnecessary list_del()

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:34 AM, Cong Wang wrote: This list_del() for tc action is not needed actually, because we only use this list to chain bulk operations, therefore should not be carried for latter operations. Fixes: ec0595cc4495 ("net_sched: get rid of struct tcf_common") Cc: Jamal Hadi Salim Signed

Re: [Patch net v4 4/7] net_sched: move tc offload macros to pkt_cls.h

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:34 AM, Cong Wang wrote: struct tcf_exts belongs to filters, should not be visible to plain tc actions. Cc: Ido Schimmel Signed-off-by: Cong Wang Acked-by: Jamal Hadi Salim cheers, jamal

Re: [Patch net v4 3/7] net_sched: fix a typo in tc_for_each_action()

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:34 AM, Cong Wang wrote: It is harmless because all users pass 'a' to this macro. Fixes: 00175aec941e ("net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef") Cc: Amir Vadai Signed-off-by: Cong Wang Acked-by: Jamal Hadi Salim cheers, jamal

Re: [Patch net v4 5/7] net_sched: convert tcf_exts from list to pointer array

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:35 AM, Cong Wang wrote: As pointed out by Jamal, an action could be shared by multiple filters, so we can't use list to chain them any more after we get rid of the original tc_action. Instead, we could just save pointers to these actions in tcf_exts, since they are refcount'ed, so

Re: [Patch net v3 5/5] net_sched: convert tcf_exts from list to pointer array

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:03 AM, Cong Wang wrote: On Sat, Aug 13, 2016 at 4:33 AM, Jamal Hadi Salim wrote: Just minor comment below: On 16-08-11 08:41 PM, Cong Wang wrote: +static inline void +tcf_exts_to_list(const struct tcf_exts *exts, struct list_head *actions) +{ to: static inline void tcf_ex

[RFC 1/2] netvsc: reference counting fix

2016-08-14 Thread Stephen Hemminger
This is how I think it should be fixed, but not tested yet. Subjec: netvsc: use device not module reference counts Fix how the cross-device reference counting is handled. When VF is associated with the synthetic interface, the VF driver module should still be able to be unloaded. The module unl

Re: [Intel-wired-lan] [net-next] igb: add function to set I210 transmit mode

2016-08-14 Thread John Fastabend
On 16-08-13 09:11 AM, Richard Cochran wrote: > On Sat, Aug 13, 2016 at 08:27:38AM -0700, Alexander Duyck wrote: >> I really don' think this patch is going to work. If you are going to >> implement something like this and have a hope to get it accepted into >> the Linux kernel you need to come up w

Issues related to TCP Fast Open flags: TFO_SERVER_COOKIE_NOT_CHKED and TFO_SERVER_WO_SOCKOPT2

2016-08-14 Thread Piotr Jurkiewicz
1. Handling of TFO_SERVER_COOKIE_NOT_CHKED flag was removed back in 2014, but this flag is still mentioned in the documentation: Documentation/networking/ip-sysctl.txt: 0x100: Accept SYN data w/o validating the cookie. 2. There is no explanation how TFO_SERVER_WO_SOCKOPT1 and TFO_SERVE

[RFC 2/2] netvsc: use RCU for VF net device reference

2016-08-14 Thread Stephen Hemminger
Rather than keeping a pointer, a flag, and reference count, use RCU and existing device reference count to protect the synthetic to VF relationship. One other change is that injected packets must be accounted for on the synthetic device otherwise the statistics will be lost. The VF device driver

Re: [PATCH] calipso: fix resource leak on calipso_genopt failure

2016-08-14 Thread David Miller
From: Colin King Date: Thu, 11 Aug 2016 18:17:22 +0100 > From: Colin Ian King > > Currently, if calipso_genopt fails then the error exit path > does not free the ipv6_opt_hdr new causing a memory leak. Fix > this by kfree'ing new on the error exit path. > > Signed-off-by: Colin Ian King Appl

[Patch net v4 7/7] net_sched: allow flushing tc police actions

2016-08-14 Thread Cong Wang
From: Roman Mashak The act_police uses its own code to walk the action hashtable, which leads to that we could not flush standalone tc police actions, so just switch to tcf_generic_walker() like other actions. (Joint work from Roman and Cong.) Signed-off-by: Roman Mashak Signed-off-by: Cong Wa

[Patch net v4 4/7] net_sched: move tc offload macros to pkt_cls.h

2016-08-14 Thread Cong Wang
struct tcf_exts belongs to filters, should not be visible to plain tc actions. Cc: Ido Schimmel Signed-off-by: Cong Wang --- include/net/act_api.h | 19 +++ include/net/pkt_cls.h | 19 +++ 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/include/n

[Patch net v4 1/7] net_sched: remove the leftover cleanup_a()

2016-08-14 Thread Cong Wang
After refactoring tc_action into tcf_common, we no longer need to cleanup temporary "actions" in list, they are permanently stored in the hashtable. Fixes: a85a970af265 ("net_sched: move tc_action into tcf_common") Reported-by: Jamal Hadi Salim Cc: Jamal Hadi Salim Signed-off-by: Cong Wang ---

[Patch net v4 2/7] net_sched: remove an unnecessary list_del()

2016-08-14 Thread Cong Wang
This list_del() for tc action is not needed actually, because we only use this list to chain bulk operations, therefore should not be carried for latter operations. Fixes: ec0595cc4495 ("net_sched: get rid of struct tcf_common") Cc: Jamal Hadi Salim Signed-off-by: Cong Wang --- net/sched/act_ap

[Patch net v4 5/7] net_sched: convert tcf_exts from list to pointer array

2016-08-14 Thread Cong Wang
As pointed out by Jamal, an action could be shared by multiple filters, so we can't use list to chain them any more after we get rid of the original tc_action. Instead, we could just save pointers to these actions in tcf_exts, since they are refcount'ed, so convert the list to an array of pointers.

Re: [PATCH] net: phy: initialize rc to zero to avoid returning garbage value

2016-08-14 Thread David Miller
From: Colin King Date: Fri, 12 Aug 2016 21:29:24 +0100 > From: Colin Ian King > > In the case where phydev->interrupts is not PHY_INTERRUPT_ENABLED > function vsc85xx_ack_interrupt is returning an uninitialized > garbage value. Fix this by initializing rc to zero. > > Signed-off-by: Colin Ian

[Patch net v4 0/7] net_sched: tc action fixes and updates

2016-08-14 Thread Cong Wang
This patchset fixes a few regressions caused by the previous code refactor and more. Thanks to Jamal for catching them! Note, patch 3/7 and 4/7 are not strictly necessary for this patchset, I just want to carry them together. --- v4: adjust an indention for Jamal add two more patches v3: avo

[Patch net v4 3/7] net_sched: fix a typo in tc_for_each_action()

2016-08-14 Thread Cong Wang
It is harmless because all users pass 'a' to this macro. Fixes: 00175aec941e ("net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef") Cc: Amir Vadai Signed-off-by: Cong Wang --- include/net/act_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/act_api.h b/inc

[Patch net v4 6/7] net_sched: unify the init logic for act_police

2016-08-14 Thread Cong Wang
Jamal reported a crash when we create a police action with a specific index, this is because the init logic is not correct, we should always create one for this case. Just unify the logic with other tc actions. Fixes: a03e6fe56971 ("act_police: fix a crash during removal") Reported-by: Jamal Hadi

Re: [PATCH net-next V2 00/18] liquidio CN23XX support

2016-08-14 Thread David Miller
From: Raghu Vatsavayi Date: Fri, 12 Aug 2016 11:20:17 -0700 > Following patchset adds support for new device CN23XX in > liquidio family of adapters. This V2 patch also resolved > all the comments from previous submission: > 1) All cross compile issues reported by kbuild on SPARC, >Tile, ARM

Re: [PATCH v2 00/21] net: thunderx: Support for newer chips and miscellaneous patches

2016-08-14 Thread David Miller
From: sunil.kovv...@gmail.com Date: Fri, 12 Aug 2016 16:51:23 +0530 > This patch series adds support for VNIC on 81xx and 83xx SOCs. > 81xx/83xx is different from 88xx in terms of capabilities and new type > of interfaces supported (eg: QSGMII, RGMII) and have DLMs instead of > QLMs which allows s

Re: [Patch net 0/5] net_sched: tc action fixes and updates

2016-08-14 Thread Cong Wang
On Sat, Aug 13, 2016 at 4:05 AM, Jamal Hadi Salim wrote: > I tested a lot more this time. > Good news: performance regression now resolved. > Some bad news - there's still one more oops: > > sudo $TC actions add action police rate 1kbit burst 90k drop index 1 Relax, Jamal, it is caused by other c

Re: [Patch net v3 5/5] net_sched: convert tcf_exts from list to pointer array

2016-08-14 Thread Cong Wang
On Sat, Aug 13, 2016 at 4:33 AM, Jamal Hadi Salim wrote: > > Just minor comment below: > > On 16-08-11 08:41 PM, Cong Wang wrote: > > >> +static inline void >> +tcf_exts_to_list(const struct tcf_exts *exts, struct list_head *actions) >> +{ > > > to: > static inline void tcf_exts_to_list(const stru

Re: [PATCH] net/irda: handle iriap_register_lsap() allocation failure

2016-08-14 Thread David Miller
From: Vegard Nossum Date: Fri, 12 Aug 2016 10:29:13 +0200 > If iriap_register_lsap() fails to allocate memory, self->lsap is > set to NULL. However, none of the callers handle the failure and > irlmp_connect_request() will happily dereference it: ... > The bug seems to have been around since for

Re: [PATCH] net: macb: add phy-handle support for the macb

2016-08-14 Thread David Miller
From: Kedareswara rao Appana Date: Sat, 13 Aug 2016 15:31:49 +0530 > @@ -445,7 +445,13 @@ static int macb_mii_init(struct macb *bp) > dev_set_drvdata(&bp->dev->dev, bp->mii_bus); > > np = bp->pdev->dev.of_node; > - if (np) { > + np1 = of_get_parent(bp->phy_node); > + if

Re: [PATCH net-next v2 00/12] Fix warning and issues

2016-08-14 Thread David Miller
From: Iyappan Subramanian Date: Fri, 12 Aug 2016 22:05:36 -0700 > This patch set fixes the following warning and issues, Series applied, thanks.

Re: [PATCH net 2/2] net: remove type_check from dev_get_nest_level()

2016-08-14 Thread David Miller
From: Sabrina Dubroca Date: Fri, 12 Aug 2016 16:10:33 +0200 > The idea for type_check in dev_get_nest_level() was to count the number > of nested devices of the same type (currently, only macvlan or vlan > devices). > This prevented the false positive lockdep warning on configurations such > as:

Re: [PATCH] net: ipv6: Do not keep IPv6 addresses when IPv6 is disabled

2016-08-14 Thread David Miller
From: Mike Manning Date: Fri, 12 Aug 2016 12:02:38 +0100 > If IPv6 is disabled when the option is set to keep IPv6 > addresses on link down, userspace is unaware of this as > there is no such indication via netlink. The solution is to > remove the IPv6 addresses in this case, which results in > n

Re: [PATCH] net: bfin_mac: Fix a few spelling fixes

2016-08-14 Thread David Miller
From: LABBE Corentin Date: Fri, 12 Aug 2016 14:58:02 +0200 > This patch respell some word badly spelled. > - Invidate instead of Invalidate > - proble instead of probe > > Signed-off-by: LABBE Corentin Applied.

Re: [PATCH net 1/2] macsec: fix lockdep splats when nesting devices

2016-08-14 Thread David Miller
From: Sabrina Dubroca Date: Fri, 12 Aug 2016 16:10:32 +0200 > Currently, trying to setup a vlan over a macsec device, or other > combinations of devices, triggers a lockdep warning. > > Use netdev_lockdep_set_classes and ndo_get_lock_subclass, similar to > what macvlan does. > > Signed-off-by:

Re: [PATCH] net: bfin_mac: Fix a few spelling fixes

2016-08-14 Thread Randy Dunlap
On 08/12/16 05:58, LABBE Corentin wrote: > This patch respell some word badly spelled. > - Invidate instead of Invalidate > - proble instead of probe > > Signed-off-by: LABBE Corentin > --- > drivers/net/ethernet/adi/bfin_mac.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > >

Re: pull-request: mac80211-next 2016-08-12

2016-08-14 Thread David Miller
From: Johannes Berg Date: Fri, 12 Aug 2016 11:20:45 +0200 > This first pull request is pretty small, but there's no point > in hanging on to it for long, so here it goes anyway. Nothing > all that interesting, I think. > > We might have a bunch of new APIs that were promised to me > coming up so

Re: [PATCH RESEND] net/sctp: always initialise sctp_ht_iter::start_fail

2016-08-14 Thread David Miller
From: Vegard Nossum Date: Fri, 12 Aug 2016 09:50:51 +0200 > sctp_transport_seq_start() does not currently clear iter->start_fail on > success, but relies on it being zero when it is allocated (by > seq_open_net()). > > This can be a problem in the following sequence: > > open() // allocates

Re: [PATCH net v2] ibmveth: Disable tx queue while changing mtu

2016-08-14 Thread David Miller
From: Thomas Falcon Date: Thu, 11 Aug 2016 15:01:19 -0500 > If the device is running while the MTU is changed, ibmveth > is closed and the bounce buffer is freed. If a transmission > is sent before ibmveth can be reopened, ibmveth_start_xmit > tries to copy to the null bounce buffer, leading to a

Re: [PATCH 00/16] net: don't print error when allocating urb fails

2016-08-14 Thread David Miller
From: Wolfram Sang Date: Thu, 11 Aug 2016 23:05:19 +0200 > This per-subsystem series is part of a tree wide cleanup. usb_alloc_urb() uses > kmalloc which already prints enough information on failure. So, let's simply > remove those "allocation failed" messages from drivers like we did already for

Re: [PATCH v2] ipv6: suppress sparse warnings in IP6_ECN_set_ce()

2016-08-14 Thread David Miller
From: Johannes Berg Date: Fri, 12 Aug 2016 07:48:21 +0200 > From: Johannes Berg > > Pass the correct type __wsum to csum_sub() and csum_add(). This doesn't > really change anything since __wsum really *is* __be32, but removes the > address space warnings from sparse. > > Cc: Eric Dumazet > Fi

NetDEV conf 1.2 in Tokyo!

2016-08-14 Thread David Miller
I just wanted to send out an extra encouragement for people to consider attening netdev conf 1.2 in Tokyo this coming October. Details at: http://netdevconf.org/1.2/ If you'd like to submit a proposal for a talk, tutorial, or workshop, you can learn about how to do that here: h

Re: [PATCH net] bpf: fix write helpers with regards to non-linear parts

2016-08-14 Thread David Miller
From: Daniel Borkmann Date: Thu, 11 Aug 2016 21:38:37 +0200 > Fix the bpf_try_make_writable() helper and all call sites we have in BPF, > it's currently defect with regards to skbs when the write_len spans into > non-linear parts, no matter if cloned or not. ... > Fixes: 608cd71a9c7c ("tc: bpf:

Re: [PATCH 1/2] net: ethernet: mediatek: fixed that initializing u64_stats_sync is missing

2016-08-14 Thread David Miller
From: Sean Wang Date: Sat, 13 Aug 2016 19:16:18 +0800 > To fix runtime warning with lockdep is enabled due that u64_stats_sync > is not initialized well, so add it. > > Signed-off-by: Sean Wang Applied.

Re: [PATCH 2/2] net: ethernet: mediatek: add the missing of_node_put() after node is used done

2016-08-14 Thread David Miller
From: Sean Wang Date: Sat, 13 Aug 2016 19:16:19 +0800 > This patch adds the missing of_node_put() after finishing the usage > of of_parse_phandle() or of_node_get() used by fixed_phy. > > Signed-off-by: Sean Wang Applied.

Re: [Intel-wired-lan] [net-next] igb: add function to set I210 transmit mode

2016-08-14 Thread John Fastabend
On 16-08-13 08:27 AM, Alexander Duyck wrote: > On Tue, Aug 9, 2016 at 11:48 PM, Gangfeng wrote: >> From: Gangfeng Huang >> >> I210 supports two transmit modes, legacy and Qav. The transmit mode is >> configured in TQAVCTRL.QavMode register. Before this patch igb driver >> only support legacy mode

Re: [PATCH net-next] net: fix up a few missing hashtable.h conflict resolutions

2016-08-14 Thread David Miller
From: Jiri Kosina Date: Fri, 12 Aug 2016 16:34:49 +0200 (CEST) > From: Jiri Kosina > > There are a couple of leftover symbol conflicts caused by hashtable.h > being included by netdevice.h; those were not caught as build failure > (they're "only" a warning, but in fact real bugs). Fix those u

Re: [PATCH 2/2] net: sched: convert qdisc linked list to hashtable

2016-08-14 Thread Cong Wang
On Fri, Aug 12, 2016 at 6:53 AM, Jiri Kosina wrote: > On Fri, 12 Aug 2016, Daniel Borkmann wrote: > >> This results in below panic. Tested reverting this patch and it fixes >> the panic. >> >> Did you test this also with ingress or clsact qdisc (just try adding >> it to lo dev for example) ? > > H