Re: [PATCH RESEND] net: can: Introduce MEN 16Z192-00 CAN controller driver

2016-08-07 Thread Benjamin Poirier
On 2016/07/26 11:16, Andreas Werner wrote: [...] > + > + /* Lock for CTL_BTR register access. > + * This register combines bittiming bits > + * and the operation mode bits. > + * It is also used for bit r/m/w access > + * to all registers. > + */ > + spinlock_t lock

Re: [net-next 0/2] BPF, kprobes: Add current_in_cgroup helper

2016-08-07 Thread Alexei Starovoitov
On Sun, Aug 07, 2016 at 08:08:19PM -0700, Sargun Dhillon wrote: > Thanks for your feedback Alexei, > I really appreciate it. > > On Sun, Aug 07, 2016 at 05:52:36PM -0700, Alexei Starovoitov wrote: > > On Sat, Aug 06, 2016 at 09:56:06PM -0700, Sargun Dhillon wrote: > > > On Sat, Aug 06, 2016 at 09:

Re: [PATCH v4 1/1] rps: Inspect PPTP encapsulated by GRE to get flow hash

2016-08-07 Thread Philp Prindeville
Feng, An anonymous structure is defined here: https://gcc.gnu.org/onlinedocs/gcc/Unnamed-Fields.html i.e.: struct gre_full_hdr { struct gre_base_hdr; ... so yes, I'm talking about making fixed_header be anonymous instead. -Philip On 08/07/2016 08:50 PM, Feng Gao wrote: Hi Philp,

Re: [net-next 0/2] BPF, kprobes: Add current_in_cgroup helper

2016-08-07 Thread Sargun Dhillon
Thanks for your feedback Alexei, I really appreciate it. On Sun, Aug 07, 2016 at 05:52:36PM -0700, Alexei Starovoitov wrote: > On Sat, Aug 06, 2016 at 09:56:06PM -0700, Sargun Dhillon wrote: > > On Sat, Aug 06, 2016 at 09:32:05PM -0700, Alexei Starovoitov wrote: > > > On Sat, Aug 06, 2016 at 09:06

Re: [PATCH v4 1/1] rps: Inspect PPTP encapsulated by GRE to get flow hash

2016-08-07 Thread Feng Gao
Hi Philp, Forgive my poor English, I am not clear about the comment #1. "Can you make gre_base_hdr be anonymous?". +struct gre_full_hdr { + struct gre_base_hdr fixed_header; Do you mean make the member "fixed_header" as anonymous or not? Best Regards Feng On Mon, Aug 8, 2016 at 5:03 AM, Phi

Re: order-0 vs order-N driver allocation. Was: [PATCH v10 07/12] net/mlx4_en: add page recycle to prepare rx ring for tx support

2016-08-07 Thread Alexei Starovoitov
On Fri, Aug 05, 2016 at 09:15:33AM +0200, Eric Dumazet wrote: > On Thu, 2016-08-04 at 18:19 +0200, Jesper Dangaard Brouer wrote: > > > I actually agree, that we should switch to order-0 allocations. > > > > *BUT* this will cause performance regressions on platforms with > > expensive DMA operatio

Re: [net-next 0/2] BPF, kprobes: Add current_in_cgroup helper

2016-08-07 Thread Alexei Starovoitov
On Sat, Aug 06, 2016 at 09:56:06PM -0700, Sargun Dhillon wrote: > On Sat, Aug 06, 2016 at 09:32:05PM -0700, Alexei Starovoitov wrote: > > On Sat, Aug 06, 2016 at 09:06:53PM -0700, Sargun Dhillon wrote: > > > This patchset includes a helper and an example to determine whether the > > > kprobe > >

Re: [PATCH v4 1/1] rps: Inspect PPTP encapsulated by GRE to get flow hash

2016-08-07 Thread Philp Prindeville
Inline... On 08/04/2016 01:06 AM, f...@48lvckh6395k16k5.yundunddos.com wrote: From: Gao Feng The PPTP is encapsulated by GRE header with that GRE_VERSION bits must contain one. But current GRE RPS needs the GRE_VERSION must be zero. So RPS does not work for PPTP traffic. In my test environme

[PATCH iproute2] bridge: vlan json: skip ports with empty vlans

2016-08-07 Thread Roopa Prabhu
From: Roopa Prabhu The non-json output prints 'None' for such vlans. And this can garble json output. Fixes: d82a49ce85f0 ("bridge: add json support for bridge vlan show") Signed-off-by: Roopa Prabhu --- saw this when deploying a mix of vlan filtering and non-vlan filtering bridges. bridge/vl

Re: [Bridge] [PATCH net] bridge: Fix problems around fdb entries pointing to the bridge device

2016-08-07 Thread Toshiaki Makita
On 16/08/06 (土) 7:26, Stephen Hemminger wrote: On Thu, 04 Aug 2016 11:27:25 -0700 Roopa Prabhu wrote: On 8/4/16, 1:15 AM, Toshiaki Makita wrote: On 2016/08/04 16:24, Roopa Prabhu wrote: On 8/3/16, 7:11 PM, Toshiaki Makita wrote: Adding fdb entries pointing to the bridge device uses fdb_inse

[PATCH] tc/m_gact: Fix action_a2n() return code check

2016-08-07 Thread Phil Sutter
The function returns zero on success. Reported-by: Mark Bloch Fixes: 69f5aff63c770b ("tc: use action_a2n() everywhere") Signed-off-by: Phil Sutter --- tc/m_gact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tc/m_gact.c b/tc/m_gact.c index c0a938c716b6a..2bfd9a7c317e4 100

[PATCH iproute2] ip route: restore_handler should check tb[RTA_PREFSRC] for local networks

2016-08-07 Thread Xin Long
Prior to this patch, If one route entry's RTA_PREFSRC and RTA_GATEWAY both were NULL, it was supposed to be restored ONLY as a local address. But as it didn't check tb[RTA_PREFSRC] when restoring local networks, rtattr_cmp would return a success if it was NULL, this route entry would be restored a

Пробив любых данных т. +79776066203 Email: nah...@163.com

2016-08-07 Thread nah...@163.com
Пробив любых данных т. +79776066203 Email: nah...@163.com

flow_dissector: Get vlan priority in addition to vlan id

2016-08-07 Thread Hadar Hen Zion
Hi Tom and Jiri, I would like to add vlan priority to __skb_flow_dissect. In the current vlan tag implementation there isn't any room left to vlan priority next to the vlan id. struct flow_dissector_key_tags { u32 vlan_id:12, flow_label:20

Re: [PATCH] net: macb: Correct CAPS mask

2016-08-07 Thread David Miller
From: Harini Katakam Date: Fri, 5 Aug 2016 10:31:58 +0530 > USRIO and JUMBO CAPS have the same mask. > Fix the same. > > Fixes: ce721a702197 ("net: ethernet: cadence-macb: Add disabled usrio caps") > Cc: sta...@vger.kernel.org # v4.5+ > Signed-off-by: Harini Katakam > Acked-by: Nicolas Ferre

Re: pull-request: mac80211 2016-08-05

2016-08-07 Thread David Miller
From: Johannes Berg Date: Fri, 5 Aug 2016 14:32:08 +0200 > Here's a first set of fixes for the current cycle. See the tag message > for more information. > > I'll probably have a follow-up fix for the real problem in mac80211 > that caused the crash later, but for now we have this patch and it