[PATCH] brcm80211: fix compare_const_fl.cocci warnings

2015-12-05 Thread Julia Lawall
Move constants to the right of binary operators. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- Minor point. But in my opinion, it would look a little nicer to have the

[PATCH] VSOCK: fix returnvar.cocci warnings

2015-12-05 Thread Julia Lawall
Remove unneeded variable used to store return value. Generated by: scripts/coccinelle/misc/returnvar.cocci CC: Asias He Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- vsock.c |3 +-- 1 file changed, 1

Re: [PATCH v2] Revert "i40e: remove CONFIG_I40E_VXLAN"

2015-12-05 Thread Jeff Kirsher
On Sat, Dec 5, 2015 at 2:50 PM, David Miller wrote: > From: Anjali Singhai Jain > Date: Thu, 3 Dec 2015 23:49:31 -0800 > >> This reverts commit 8fe269991aece394a7ed274f525d96c73f94109a. >> The case where VXLAN is a module and i40e driver is inbuilt

RE: [PATCH V4 net-next 4/5] net:hns: Add support of ethtool TSO set option for Hip06 in HNS

2015-12-05 Thread Yuval Mintz
> > Isn't AE_VERSION_1 something fixed once you publish your features? > > If it can't be changed, why not simply remove the features from > > `hw_features' instead of having to implement this ndo? > There could be a case where the feature is supported by the SoC > and therefore it is already part

Re: [PATCH RESEND] fm10k:Fix error handling in the function fm10k_resume

2015-12-05 Thread Jeff Kirsher
On Sat, 2015-12-05 at 21:36 -0500, Nicholas Krause wrote: > This fixes error handling to proper check if the call to the function > fm10k_mbx_request_irq has failed by returning a error code and if > so return immediately to the caller of fm10k_resume to properly > signal a failure has occurred

Re: [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board

2015-12-05 Thread kbuild test robot
Hi yankejian, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/yankejian/dts-hisi-fixes-can-t-find-eth-for-hip05-D02/20151205-155412 config: arm64-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git

[PATCH] net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()

2015-12-05 Thread Felix Fietkau
This semicolon causes a build error if the function call is wrapped in parentheses. Fixes: aabc92bbe3cf ("net: add __netdev_alloc_pcpu_stats() to indicate gfp flags") Reported-by: Imre Kaloz Signed-off-by: Felix Fietkau --- include/linux/netdevice.h | 2 +-

Re: Asterisk deadlocks since Kernel 4.1

2015-12-05 Thread Stefan Priebe
Hello Philipp, Am 05.12.2015 um 15:19 schrieb Philipp Matthias Hahn: Hello Hannes, On Wed, Dec 02, 2015 at 12:40:32PM +0100, Hannes Frederic Sowa wrote: git bisect tells me it stopped working after those two commits were applied: commit d48623677191e0f035d7afd344f92cf880b01f8e Author:

Re: Asterisk deadlocks since Kernel 4.1

2015-12-05 Thread Philipp Matthias Hahn
Hello Hannes, On Wed, Dec 02, 2015 at 12:40:32PM +0100, Hannes Frederic Sowa wrote: > > git bisect tells me it stopped working after those two commits were applied: > > > > commit d48623677191e0f035d7afd344f92cf880b01f8e > > Author: Herbert Xu > > Date: Tue Sep 22

You Have Been Chosen!!

2015-12-05 Thread Tom Crist
Our records indicate that you have been chosen to be the award recipient of $1m from the Tom Crist annual senior citizens donation. Please send ur Name, age address Tel & Occupation for more info and a check for $1m will be issued to you. Sincerely, Tom Crist -- To unsubscribe from this

Re: IPv4 tunnels: why IP-IP and SIT enforce DF bit, but GRE does not?

2015-12-05 Thread Konstantin Shemyak
On 01.12.2015 19:08, David Miller wrote: From: Hannes Frederic Sowa Date: Tue, 01 Dec 2015 14:30:55 +0100 On Tue, Dec 1, 2015, at 14:20, Konstantin Shemyak wrote: My point was not to question its feasibility, but to make it similar across GRE, IP-IP and SIT

Re: [PATCH net,stable] net: cdc_mbim: add "NDP to end" quirk for Huawei E3372

2015-12-05 Thread David Miller
From: Bjørn Mork Date: Sat, 5 Dec 2015 13:01:50 +0100 > The Huawei E3372 (12d1:157d) needs this quirk in MBIM mode > as well. Allow this by forcing the NTB to contain only a > single NDP, and add a device specific entry for this ID. > > Due to the way Huawei use device IDs, this

Re: use-after-free in sctp_do_sm

2015-12-05 Thread Vlad Yasevich
On 12/04/2015 04:34 PM, Marcelo Ricardo Leitner wrote: > On Fri, Dec 04, 2015 at 09:25:35PM +0100, Dmitry Vyukov wrote: >> On Fri, Dec 4, 2015 at 6:48 PM, Marcelo Ricardo Leitner >> wrote: >>> Hi Dmitry, >>> >>> Can you please test this patch? >>> I'll re-post with

Re: [PATCH] net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()

2015-12-05 Thread Pablo Neira Ayuso
On Sat, Dec 05, 2015 at 01:58:11PM +0100, Felix Fietkau wrote: > This semicolon causes a build error if the function call is wrapped in > parentheses. > > Fixes: aabc92bbe3cf ("net: add __netdev_alloc_pcpu_stats() to indicate gfp > flags") > Reported-by: Imre Kaloz >

Re: 4.4-rc3, KVM, br0 and instant hang

2015-12-05 Thread John Stoffel
> "John" == John Stoffel writes: John> On Fri, Dec 04, 2015 at 11:28:33PM -0500, John Stoffel wrote: >> >> Hi all, >> Anyway, if I try to boot up anything past the 4.2.6 kernel, the system >> locks up pretty quickly with an oops message that scrolls off the >>

Re: 4.4-rc3, KVM, br0 and instant hang

2015-12-05 Thread Jens Axboe
On 12/05/2015 10:31 AM, John Stoffel wrote: "John" == John Stoffel writes: John> On Fri, Dec 04, 2015 at 11:28:33PM -0500, John Stoffel wrote: Hi all, Anyway, if I try to boot up anything past the 4.2.6 kernel, the system locks up pretty quickly with an oops

Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload

2015-12-05 Thread David Miller
From: Alexander Duyck Date: Sat, 5 Dec 2015 00:24:55 -0800 > Still, hard blocking this isn't necessarily going to push the > vendors to change their ways. Pushing back is different from blocking entirely. That means I'm going to be very difficult and make a lot of

Re: 4.4-rc3, KVM, br0 and instant hang

2015-12-05 Thread John Stoffel
On Fri, Dec 04, 2015 at 11:28:33PM -0500, John Stoffel wrote: > > Hi all, > > I've been trying to upgrade to something newer than 4.2.6 since I want > to use LVM Cache on my home NFS fileserver, KVM server, test server, > etc. So when it goes down, I lose all my other systems which mount >

Business Proposal of $12.8m USD

2015-12-05 Thread Song
Dear Friend, I am Song Chen i have a Business Proposal of $12.8m USD for you to handle with me from my bank contact me for more information (mr.songchen...@hotmail.com) Regards, Mr Song Chen. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload

2015-12-05 Thread Tom Herbert
> Keep in mind I don't represent one of the hardware vendors here > anymore. I am approaching this from the customer point of view. I > would like to have the performance I can get out of the parts I have. Trying enabling UDP checksum, GRO/GSO, and Remote Checksum Offload in VXLAN. Assuming you

Re: [PATCH] Bluetooth: Fix locking in bt_accept_dequeue after disconnection

2015-12-05 Thread Marcel Holtmann
Hi Yichen, > Fix a crash that may happen when bt_accept_dequeue is run after a > Bluetooth connection has been disconnected. bt_accept_unlink was called > after release_sock, permitting bt_accept_unlink to run twice on the same > socket and cause a NULL pointer dereference. > > > [50510.241632]

Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload

2015-12-05 Thread Alexander Duyck
On Sat, Dec 5, 2015 at 9:53 AM, Tom Herbert wrote: >> Keep in mind I don't represent one of the hardware vendors here >> anymore. I am approaching this from the customer point of view. I >> would like to have the performance I can get out of the parts I have. > > Trying

Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload

2015-12-05 Thread Alexander Duyck
On Sat, Dec 5, 2015 at 10:03 AM, David Miller wrote: > From: Alexander Duyck > Date: Sat, 5 Dec 2015 00:24:55 -0800 > >> Still, hard blocking this isn't necessarily going to push the >> vendors to change their ways. > > Pushing back is different

Re: IPv4 tunnels: why IP-IP and SIT enforce DF bit, but GRE does not?

2015-12-05 Thread David Miller
From: Konstantin Shemyak Date: Sat, 5 Dec 2015 17:24:39 +0200 > On 01.12.2015 19:08, David Miller wrote: >> From: Hannes Frederic Sowa >> Date: Tue, 01 Dec 2015 14:30:55 +0100 >> >>> On Tue, Dec 1, 2015, at 14:20, Konstantin Shemyak wrote:

Re: [RFC] ipv6: use a random ifid for headerless devices

2015-12-05 Thread Bjørn Mork
Hannes Frederic Sowa writes: > On Thu, Dec 3, 2015, at 20:29, Bjørn Mork wrote: > >> After looking more at addrconf, I started wondering if we couldn't abuse >> ipv6_generate_stable_address() for this purpose? We could add a new >> addr_gen_mode which would trigger

Re: [PATCH net-next v2 4/4] net: mvneta: Spread out the TX queues management on all CPUs

2015-12-05 Thread Marcin Wojtas
Hi Gregory, > @@ -1824,13 +1835,16 @@ error: > static int mvneta_tx(struct sk_buff *skb, struct net_device *dev) > { > struct mvneta_port *pp = netdev_priv(dev); > - u16 txq_id = skb_get_queue_mapping(skb); > + u16 txq_id = smp_processor_id() % txq_number; I think it may be

Re: [PATCH net] sctp: only drop the reference on the datamsg after sending a msg

2015-12-05 Thread Marcelo Ricardo Leitner
Em 05-12-2015 05:19, Xin Long escreveu: If the chunks are enqueued successfully but sctp_cmd_interpreter() return err to sctp_sendmsg() (mainly because of no mem), the chunks will get re-queued, but we are dropping the reference and freeing them. The fix is to just drop the reference on the

(4.3.0) r8152: deadlock related to runtime suspend?

2015-12-05 Thread Peter Wu
Hi, I rarely use a Realtek USB 3.0 Gigabit Ethernet adapter (vid/pid 0bda:8153), but when I did last night, it resulted in a lockup of processes doing networking ("ip link", "ping", "ethtool", ...). A (few) minute(s) before that event, I noticed that there was no network connectivity (ping hung)

[PATCH net,stable] net: cdc_mbim: add "NDP to end" quirk for Huawei E3372

2015-12-05 Thread Bjørn Mork
The Huawei E3372 (12d1:157d) needs this quirk in MBIM mode as well. Allow this by forcing the NTB to contain only a single NDP, and add a device specific entry for this ID. Due to the way Huawei use device IDs, this might be applied to other modems as well. It is assumed that those modems will

Re: [PATCH RESEND v7] i40e: Look up MAC address in Open Firmware or IDPROM

2015-12-05 Thread Sowmini Varadhan
On (12/04/15 17:40), Shannon Nelson wrote: > > I'd write this just a little differently to match the rest of the driver: > > ret = i40e_aq_add_macvlan(>back->hw, vsi->seid, , 1, NULL); > if (!ret) { You mean if (ret), right? (i.e., ret == 0 is success) >

Re: [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio

2015-12-05 Thread Arnd Bergmann
On Saturday 05 December 2015 15:56:57 yankejian wrote: > #size-cells = <0>; > compatible = "hisilicon,hns-mdio"; > - reg = <0x0 0x803c 0x0 0x1 > - 0x0 0x8000 0x0 0x1>; > + reg = <0x0 0x803c 0x0

Re: [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

2015-12-05 Thread Arnd Bergmann
On Saturday 05 December 2015 15:56:58 yankejian wrote: > +Required properties: > +- compatible : "hisilicon,peri-c-subctrl", "syscon"; > +- reg : Register address and size > + > +The HiP05 PERISUB system controller is shared by peripheral controllers in > +HiP05 Soc to implement some basic

Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload

2015-12-05 Thread David Miller
From: Alexander Duyck Date: Sat, 5 Dec 2015 11:34:47 -0800 > I'm only really interested in what options the customers has in order > to get this all configured. As long as there eventually ends up being > some path forward I'll be good with whatever ends up happening,

Re: [PATCH v3] sh_eth: fix kernel oops in skb_put()

2015-12-05 Thread David Miller
From: Sergei Shtylyov Date: Fri, 04 Dec 2015 01:45:40 +0300 > In a low memory situation the following kernel oops occurs: > > Unable to handle kernel NULL pointer dereference at virtual address 0050 > pgd = 8490c000 > [0050] *pgd=4651e831,

Re: [PATCH net,stable] net: cdc_mbim: add "NDP to end" quirk for Huawei E3372

2015-12-05 Thread Enrico Mioso
Hello guys. I am sorry the way my feature is actually implemented is limiting MUX performances in mbim case, even with good devices. When I developed it, I also probably tought this wasn't affecting MBIM devices. Thank you Bjorn, great work in handling it. Thank you for all of you; Thank you

Re: [PATCH] ravb: fix RX queue #1 frame error counter name

2015-12-05 Thread David Miller
From: Sergei Shtylyov Date: Fri, 04 Dec 2015 01:51:10 +0300 > The Rx queue #1 frame error counter name contains trailing underscore, > probably due to a typo... > > Signed-off-by: Sergei Shtylyov Applied. -- To

Re: [PATCH v4 1/1] atm: solos-pci: Replace simple_strtol by kstrtoint

2015-12-05 Thread David Miller
From: LABBE Corentin Date: Fri, 4 Dec 2015 08:43:19 +0100 > The simple_strtol function is obsolete. > This patch replace it by kstrtoint. > This will simplify code, since some error case not handled by > simple_strtol are handled by kstrtoint. > > Signed-off-by:

Re: [PATCH] cxgb3: Convert simple_strtoul to kstrtox

2015-12-05 Thread David Miller
From: LABBE Corentin Date: Fri, 4 Dec 2015 15:26:40 +0100 > the simple_strtoul function is obsolete. This patch replace it by > kstrtox. > > Signed-off-by: LABBE Corentin Again, kstrtouint() provides a reasonable error code, therefore

Re: [PATCH net-next 0/3] bnx2x: fewer error messages, simplification

2015-12-05 Thread David Miller
From: Michal Schmidt Date: Fri, 4 Dec 2015 17:22:33 +0100 > This removes one redundant error message in bnx2x and changes > another one to WARN_ONCE. The third patch is a small simplification > in ethtool stats. Series applied, thanks Michal! -- To unsubscribe from this

Re: suspicious rcu_dereference_check in sctp_v6_get_dst

2015-12-05 Thread Eric Dumazet
On Sat, 2015-12-05 at 19:25 -0500, Dave Jones wrote: > === > [ INFO: suspicious RCU usage. ] > 4.4.0-rc3-think+ #8 Tainted: GW > --- > net/sctp/ipv6.c:331 suspicious rcu_dereference_check() usage! > > other info that might help

Re: [PATCH] ipv6: keep existing flags when setting IFA_F_OPTIMISTIC

2015-12-05 Thread David Miller
From: Bjørn Mork Date: Fri, 4 Dec 2015 14:15:08 +0100 > Commit 64236f3f3d74 ("ipv6: introduce IFA_F_STABLE_PRIVACY flag") > failed to update the setting of the IFA_F_OPTIMISTIC flag, causing > the IFA_F_STABLE_PRIVACY flag to be lost if IFA_F_OPTIMISTIC is set. > > Cc: Erik

Re: [patch net-next] net: constify netif_is_* helpers net_device param

2015-12-05 Thread David Miller
From: Jiri Pirko Date: Fri, 4 Dec 2015 15:01:31 +0100 > From: Jiri Pirko > > As suggested by Eric, these helpers should have const dev param. > > Suggested-by: Eric Dumazet > Signed-off-by: Jiri Pirko Applied,

Re: [RFC PATCH net] vxlan: fix incorrect RCO bit in VXLAN header

2015-12-05 Thread David Miller
From: Jiri Benc Date: Fri, 4 Dec 2015 13:54:03 +0100 > Commit 3511494ce2f3d ("vxlan: Group Policy extension") changed definition of > VXLAN_HF_RCO from 0x0020 to BIT(24). This is obviously incorrect. It's > also in violation with the RFC draft. > > Fixes: 3511494ce2f3d

suspicious rcu_dereference_check in sctp_v6_get_dst

2015-12-05 Thread Dave Jones
=== [ INFO: suspicious RCU usage. ] 4.4.0-rc3-think+ #8 Tainted: GW --- net/sctp/ipv6.c:331 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 1, debug_locks = 0 1 lock

Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload

2015-12-05 Thread Alexander Duyck
On Fri, Dec 4, 2015 at 10:49 PM, David Miller wrote: > From: Alexander Duyck > Date: Fri, 4 Dec 2015 21:45:09 -0800 > >> Not having this feature has to in some way impact sales. > > I'm glad money trumps clean design and performance these days. > >

Re: [PATCH net-next] ravb: ptp: Add CONFIG mode support

2015-12-05 Thread Yoshihiro Kaneko
Hello Sergei, Thanks for your review. 2015-12-04 6:09 GMT+09:00 Sergei Shtylyov : > Hello. > > On 12/01/2015 08:04 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi >> >> This patch makes PTP support active in CONFIG

[PATCH] netfilter: Initialize local variables to NULL, to prevent using them when uninitialized.

2015-12-05 Thread Tomer Barletz
Signed-off-by: Tomer Barletz --- net/netfilter/nfnetlink_queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index 7d81d28..e8be660 100644 --- a/net/netfilter/nfnetlink_queue.c +++

[PATCH v8] i40e: Look up MAC address in Open Firmware or IDPROM

2015-12-05 Thread Sowmini Varadhan
This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC address in Open Firmware or IDPROM"). As with that fix, attempt to look up the MAC address in Open Firmware on systems that support it, and use IDPROM on SPARC if no OF address is found. In the case of the i40e there is an

Re: [PATCH net-next 2/2] net: hns: enet specisies a reference to dsaf (config and documents)

2015-12-05 Thread Arnd Bergmann
On Saturday 05 December 2015 14:10:56 yankejian wrote: > diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt > b/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt > index 80411b2..ecacfa4 100644 > --- a/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt

Re: [net 0/4][pull request] Intel Wired LAN Driver Updates 2015-12-03

2015-12-05 Thread David Miller
From: Jeff Kirsher Date: Thu, 3 Dec 2015 13:57:50 -0800 > This series contains updates to ixgbe, i40e/i40evf, MAINTAINERS and > e100.txt Pulled, thanks Jeff. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

Re: [PATCH (net.git)] stmmac: fix resource management when resume

2015-12-05 Thread David Miller
From: Giuseppe Cavallaro Date: Fri, 4 Dec 2015 07:21:06 +0100 > There is a memleak when suspend/resume this driver version. > Currently the stmmac, during resume step, reallocates all the resources > but they are not released when suspend. > The patch is not to release

Re: [PATCH v2] Revert "i40e: remove CONFIG_I40E_VXLAN"

2015-12-05 Thread David Miller
From: Anjali Singhai Jain Date: Thu, 3 Dec 2015 23:49:31 -0800 > This reverts commit 8fe269991aece394a7ed274f525d96c73f94109a. > The case where VXLAN is a module and i40e driver is inbuilt > will not be handled properly with this change since i40e > will have an

Re: [PATCH] Set DF bit for IPv4 GRE tunnels with fixed TTL

2015-12-05 Thread Pravin Shelar
On Sat, Dec 5, 2015 at 12:55 PM, Konstantin Shemyak wrote: > The DF bit on IPv4 GRE tunnels with fixed TTL is enforced in order > to prevent networking loops. This was the original behavior of GRE > tunnels, lost in the refactoring. > > Signed-off-by: Konstantin Shemyak

Re: [PATCH net-next v2 4/4] net: mvneta: Spread out the TX queues management on all CPUs

2015-12-05 Thread David Miller
From: Marcin Wojtas Date: Sat, 5 Dec 2015 20:14:31 +0100 > Hi Gregory, > >> @@ -1824,13 +1835,16 @@ error: >> static int mvneta_tx(struct sk_buff *skb, struct net_device *dev) >> { >> struct mvneta_port *pp = netdev_priv(dev); >> - u16 txq_id =

Re: [PATCH net-next 4/7] cxgb4: prevent simultaneous execution of service_ofldq()

2015-12-05 Thread David Miller
From: Hariprasad Shenai Date: Fri, 4 Dec 2015 14:18:08 +0530 > + u8 service_ofldq_running; /* service_ofldq() is processing sendq */ Please use 'bool' and 'true'/'false'. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message

Re: [PATCH net,stable] net: cdc_mbim: add "NDP to end" quirk for Huawei E3372

2015-12-05 Thread Mrkiko Rs
Unfortunately I found a typo: spefication should be specification. Sorry. Inviato da iPhone > Il giorno 05/dic/2015, alle ore 13:02, "Bjørn Mork" ha > scritto: > > The Huawei E3372 (12d1:157d) needs this quirk in MBIM mode > as well. Allow this by forcing the NTB to contain only

Re: [PATCH net-next] sfc: check warm_boot_count after other functions have been reset

2015-12-05 Thread David Miller
From: Bert Kenward Date: Fri, 4 Dec 2015 08:48:39 + > From: Daniel Pieczko > > A change in MCFW behaviour means that the net driver must update its record > of the warm_boot_count by reading it from the ER_DZ_BIU_MC_SFT_STATUS > register. >

Re: 4.4-rc3, KVM, br0 and instant hang

2015-12-05 Thread John Stoffel
> "Jens" == Jens Axboe writes: Jens> On 12/05/2015 10:31 AM, John Stoffel wrote: >>> "John" == John Stoffel writes: >> John> On Fri, Dec 04, 2015 at 11:28:33PM -0500, John Stoffel wrote: >> On my most recent bootup, I thought it was ok, since

[PATCH] Set DF bit for IPv4 GRE tunnels with fixed TTL

2015-12-05 Thread Konstantin Shemyak
The DF bit on IPv4 GRE tunnels with fixed TTL is enforced in order to prevent networking loops. This was the original behavior of GRE tunnels, lost in the refactoring. Signed-off-by: Konstantin Shemyak --- net/ipv4/ip_gre.c | 4 1 file changed, 4 insertions(+)

Re: [net-next 09/15] i40e: use priv flags to control packet split

2015-12-05 Thread Or Gerlitz
On Thu, Dec 3, 2015 at 3:25 PM, Jeff Kirsher wrote: > From: Jesse Brandeburg > > Ethtool priv flags implementation to enable or disable packet split, which > is a hardware feature that inspects headers and will put headers in a > separate

Re: [PATCH net-next 0/4] Allow BATMAN to use hdlc-eth interfaces

2015-12-05 Thread David Miller
From: Andrew Lunn Date: Thu, 3 Dec 2015 21:12:29 +0100 > BATMAN works over Ethernet like interfaces. hdlc-eth provides the need > requirements. However, hdlc devices are often created as raw hdlc > devices, which batman cannot use, and are then be transmuted into > other types

Re: suspicious rcu_dereference_check in sctp_v6_get_dst

2015-12-05 Thread Dave Jones
On Sat, Dec 05, 2015 at 05:13:06PM -0800, Eric Dumazet wrote: > > diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c > > index acb45b8c2a9d..7081183f4d9f 100644 > > --- a/net/sctp/ipv6.c > > +++ b/net/sctp/ipv6.c > > @@ -328,7 +328,9 @@ static void sctp_v6_get_dst(struct sctp_transport *t, >

[PATCH 2/2] chacha20poly1305: Skip encryption/decryption for 0-len

2015-12-05 Thread Jason A. Donenfeld
If the length of the plaintext is zero, there's no need to waste cycles on encryption and decryption. Using the chacha20poly1305 construction for zero-length plaintexts is a common way of using a shared encryption key for AAD authentication. Signed-off-by: Jason A. Donenfeld Cc:

[PATCH 1/2] blkcipher: Copy iv from desc even for 0-len walks

2015-12-05 Thread Jason A. Donenfeld
Some ciphers actually support encrypting zero length plaintexts. For example, many AEAD modes support this. The resulting ciphertext for those winds up being only the authentication tag, which is a result of the key, the iv, the additional data, and the fact that the plaintext had zero length. The

Re: [PATCH v1 1/6] net: Generalize udp based tunnel offload

2015-12-05 Thread Alexander Duyck
On Sat, Dec 5, 2015 at 2:27 PM, David Miller wrote: > From: Alexander Duyck > Date: Sat, 5 Dec 2015 11:34:47 -0800 > >> I'm only really interested in what options the customers has in order >> to get this all configured. As long as there

Re: [PATCH net-next] Driver for IBM System i/p VNIC protocol

2015-12-05 Thread David Miller
From: Thomas Falcon Date: Fri, 4 Dec 2015 11:49:46 -0600 > +static int ibmvnic_buffs_per_pool = IBMVNIC_BUFFS_PER_POOL; > +module_param(ibmvnic_buffs_per_pool, int, S_IRUGO); > +MODULE_PARM_DESC(ibmvnic_buffs_per_pool, > + "IBMVNIC number of buffers per

Re: [PATCH v3] MAINTAINERS: add myself as Renesas Ethernet drivers reviewer

2015-12-05 Thread David Miller
From: Sergei Shtylyov Date: Sat, 05 Dec 2015 04:50:48 +0300 > Add myself as a reviewer for the Renesas Ethernet drivers -- hopefully I > won't miss the buggy patches anymore. :-) > > Signed-off-by: Sergei Shtylyov

Re: rhashtable: Use __vmalloc with GFP_ATOMIC for table allocation

2015-12-05 Thread David Miller
From: Herbert Xu Date: Sat, 5 Dec 2015 15:03:54 +0800 > Sorry Dave but you'll have to revert this because I've been able > to trigger the following crash with the patch: > > Testing concurrent rhashtable access from 50 threads > [ cut here ]

Re: suspicious rcu_dereference_check in sctp_v6_get_dst

2015-12-05 Thread Eric Dumazet
On Sat, 2015-12-05 at 20:37 -0500, Dave Jones wrote: > On Sat, Dec 05, 2015 at 05:13:06PM -0800, Eric Dumazet wrote: > > > > diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c > > > index acb45b8c2a9d..7081183f4d9f 100644 > > > --- a/net/sctp/ipv6.c > > > +++ b/net/sctp/ipv6.c > > > @@ -328,7

Re: [PATCH net 0/3] sctp: packet timestamp fixes

2015-12-05 Thread David Miller
From: Marcelo Ricardo Leitner Date: Fri, 4 Dec 2015 15:14:02 -0200 > These a couple of fixes regarding sctp/packet timestamps. > > Dmitry Vyukov reported the counter leak on missing > net_enable_timestamp() (2nd patch) and further testing here

Re: [PATCH 0/2] Renesas: read MAC address registers only once

2015-12-05 Thread David Miller
From: Sergei Shtylyov Date: Sat, 05 Dec 2015 00:55:54 +0300 >Here's 2 patches against DaveM's 'net-next.git' repo. Here we > optimize the MAC address register reading (left over from a > bootloader). Series applied, thanks. -- To unsubscribe from this

Re: [PATCH v8] i40e: Look up MAC address in Open Firmware or IDPROM

2015-12-05 Thread David Miller
From: Sowmini Varadhan Date: Sat, 5 Dec 2015 15:33:00 -0500 > +static void i40e_get_platform_mac_addr(struct pci_dev *pdev, struct i40e_pf > *pf) > +{ > + struct device_node *dp = pci_device_to_OF_node(pdev); > + const unsigned char *addr; > + u8