Re: [PATCH v2 06/27] brcm80211: move under broadcom vendor directory

2015-11-18 Thread Kalle Valo
Florian Fainelli writes: > On 18/11/15 11:19, Hauke Mehrtens wrote: >> On 11/18/2015 03:45 PM, Kalle Valo wrote: >>> Part of reorganising wireless drivers directory and Kconfig. Note that I >>> had to >>> edit Makefiles from subdirectories to use the new location. >>> >>> Signed-off-by: Kalle Va

Re: [PATCH v2 06/27] brcm80211: move under broadcom vendor directory

2015-11-18 Thread Kalle Valo
Hauke Mehrtens writes: > On 11/18/2015 03:45 PM, Kalle Valo wrote: >> Part of reorganising wireless drivers directory and Kconfig. Note that I had >> to >> edit Makefiles from subdirectories to use the new location. >> >> Signed-off-by: Kalle Valo >> --- > > I would prefer to remove the brcm80

Re: Add a SOCK_DESTROY operation to close sockets from userspace

2015-11-18 Thread Maciej Żenczykowski
> What I object to is userspace making reachability decisions, not > whether SOCK_DESTROY closes the socket in one way or the other. Privileged userspace can already make these decisions today, whether it is by killing processes with open sockets, or by turning interfaces up and down or by reconfi

Re: [PATCH] net: cpsw: Fix ethernet regression for dm814x

2015-11-18 Thread Mugunthan V N
On Thursday 19 November 2015 06:57 AM, Tony Lindgren wrote: > Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac > id to common file") started using of_machine_is_compatible for detecting > type but missed at dm8148 causing Ethernet to stop working. > > Let's fix the issue by

Re: r8169 regression: UDP packets dropped intermittantly

2015-11-18 Thread Jonathan Woithe
On Thu, Nov 19, 2015 at 01:56:08AM +0100, Francois Romieu wrote: > Jonathan Woithe : > [...] > > I could try. What's the most reliable way to determine this? Use regular > > ethtool queries about the time of the failures? > > If you are neither space nor cpu constrained: > > while : ; do >

Re: [PATCH net-next 2/2] dsa: mv88e6xxx.c: Hardware reset the chip if available

2015-11-18 Thread Phil Reid
On 19/11/2015 10:25 AM, Andrew Lunn wrote: >> This is a general query about what is the preferred method of allocating gpios. >> The gpiod* family of functions provided similar functionality and automatically >> deal with active low / high outputs, direction, inital value etc... >> I raise this

Re: [PATCH v2 net-next 00/14] net: extend busy polling support

2015-11-18 Thread Or Gerlitz
On Wed, Nov 18, 2015 at 11:18 PM, David Miller wrote: > From: Eric Dumazet > Date: Wed, 18 Nov 2015 06:30:49 -0800 > I like this series a lot, and hope we can fix any fallout quickly and > painlessly. > Applied to net-next. Hi Dave, If you don't mind, next time we would be happy to get > 36h

Re: Add a SOCK_DESTROY operation to close sockets from userspace

2015-11-18 Thread David Miller
From: Lorenzo Colitti Date: Thu, 19 Nov 2015 14:13:48 +0900 > On Thu, Nov 19, 2015 at 12:49 PM, David Miller wrote: >> The more I think about it more the more I agree with him and dislike >> having user space make sure "it's ok", that isn't where TCP protocol >> semantic rules are implemented.

Re: Add a SOCK_DESTROY operation to close sockets from userspace

2015-11-18 Thread Lorenzo Colitti
On Thu, Nov 19, 2015 at 12:49 PM, David Miller wrote: > What if we implemented this the other way. The operations that make > the sockets no longer connected to the world, close them. The route > delete during address removal does the socket scan and then the done > calls on those sockets. In m

Re: Add a SOCK_DESTROY operation to close sockets from userspace

2015-11-18 Thread Tom Herbert
On Wed, Nov 18, 2015 at 7:49 PM, David Miller wrote: > From: Hannes Frederic Sowa > Date: Wed, 18 Nov 2015 21:43:36 +0100 > >> Basically my concern is the same one I tried to express in the other >> patch about Florian's patch "[PATCH -next] net: tcp: move to >> timewait when receiving data post

[PATCH net] tcp: fix potential huge kmalloc() calls in TCP_REPAIR

2015-11-18 Thread Eric Dumazet
From: Eric Dumazet tcp_send_rcvq() is used for re-injecting data into tcp receive queue. Problems : - No check against size is performed, allowed user to fool kernel in attempting very large memory allocations, eventually triggering OOM when memory is fragmented. - In case of fault during

RE: [PATCH 2/2] can: m_can: Add CAN clock generated by UPLLCK support

2015-11-18 Thread Yang, Wenyou
Hi Marc, > -Original Message- > From: Marc Kleine-Budde [mailto:m...@pengutronix.de] > Sent: 2015年11月18日 18:23 > To: Yang, Wenyou; Wolfgang Grandegger > Cc: linux-...@vger.kernel.org; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org; Ferre, Nicolas > Subject: Re: [PATCH 2/2] can: m_

RE: [PATCH 1/2] can: m_can: Increase delay to ensure written INIT accepted

2015-11-18 Thread Yang, Wenyou
Hi Marc, Thank you for prompt feedback. > -Original Message- > From: Marc Kleine-Budde [mailto:m...@pengutronix.de] > Sent: 2015年11月18日 18:26 > To: Yang, Wenyou; Wolfgang Grandegger > Cc: linux-...@vger.kernel.org; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org; Ferre, Nicolas >

Re: [PATCH net] tcp: md5: fix lockdep annotation

2015-11-18 Thread David Miller
From: Eric Dumazet Date: Wed, 18 Nov 2015 12:40:13 -0800 > From: Eric Dumazet > > When a passive TCP is created, we eventually call tcp_md5_do_add() > with sk pointing to the child. It is not owner by the user yet (we > will add this socket into listener accept queue a bit later anyway) > > Bu

Re: [PATCH net,stable] net: qmi_wwan: add XS Stick W100-2 from 4G Systems

2015-11-18 Thread David Miller
From: Bjørn Mork Date: Wed, 18 Nov 2015 21:13:07 +0100 > Thomas reports ... > Reported-by: Thomas Schäfer > Signed-off-by: Bjørn Mork Applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kern

Re: [PATCH v7] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-18 Thread David Miller
From: Mans Rullgard Date: Wed, 18 Nov 2015 17:29:24 + > +static int nb8800_poll(struct napi_struct *napi, int budget) > +{ > + struct net_device *dev = napi->dev; > + struct nb8800_priv *priv = netdev_priv(dev); > + struct nb8800_rx_desc *rxd; > + int work = 0; > + int las

Re: Add a SOCK_DESTROY operation to close sockets from userspace

2015-11-18 Thread David Miller
From: Hannes Frederic Sowa Date: Wed, 18 Nov 2015 21:43:36 +0100 > Basically my concern is the same one I tried to express in the other > patch about Florian's patch "[PATCH -next] net: tcp: move to > timewait when receiving data post active-close": we could give the > socket back way too early s

Re: [PATCH] arm64: bpf: fix buffer pointer

2015-11-18 Thread David Miller
From: Zi Shen Lim Date: Wed, 18 Nov 2015 00:56:02 -0800 > During code review, I noticed we were passing a bad buffer pointer > to bpf_load_pointer helper function called by jitted code. > > Point to the buffer allocated by JIT, so we don't silently corrupt > other parts of the stack. > > Signed

Re: [PATCH net-next 1/2] net: dsa: Add support for a switch reset gpio

2015-11-18 Thread Andrew Lunn
> index 1eba07feb34a..39cd19eaaf4e 100644 > --- a/net/dsa/dsa.c > +++ b/net/dsa/dsa.c > @@ -21,6 +21,8 @@ > #include > #include > #include > +#include Comment to self: That include should not be there. I will post a v2 once the discussion has stopped. Andrew -- To unsubscribe from this

Re: [PATCH] ravb: fix WARNING in __free_irq()

2015-11-18 Thread David Miller
From: Sergei Shtylyov Date: Thu, 19 Nov 2015 01:39:51 +0300 > When the R8A7795 support was added to the driver, little attention was paid > to the ravb_open() error path: free_irq() for the EMAC interrupt was called > uncoditionally, unlike request_irq(), and in a wrong order as well... > As a

Re: [PATCH net-next 2/2] dsa: mv88e6xxx.c: Hardware reset the chip if available

2015-11-18 Thread Andrew Lunn
> This is a general query about what is the preferred method of allocating > gpios. > The gpiod* family of functions provided similar functionality and > automatically > deal with active low / high outputs, direction, inital value etc... > I raise this more for knowledge on what method I should

[PATCH net 1/2] tcp: disable Fast Open on timeouts after handshake

2015-11-18 Thread Yuchung Cheng
Some middle-boxes black-hole the data after the Fast Open handshake (https://www.ietf.org/proceedings/94/slides/slides-94-tcpm-13.pdf). The exact reason is unknown. The work-around is to disable Fast Open temporarily after multiple recurring timeouts with few or no data delivered in the established

[PATCH net 2/2] tcp: fix Fast Open snmp over-counting bug

2015-11-18 Thread Yuchung Cheng
Fix incrementing TCPFastOpenActiveFailed snmp stats multiple times when the handshake experiences multiple SYN timeouts. Signed-off-by: Yuchung Cheng Signed-off-by: Eric Dumazet --- net/ipv4/tcp_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp_timer.c b/n

Re: [PATCH net-next 2/2] dsa: mv88e6xxx.c: Hardware reset the chip if available

2015-11-18 Thread Phil Reid
On 19/11/2015 7:29 AM, Andrew Lunn wrote: The device tree binding now allows a gpio to be specified which is attached to the switch chips reset line. If it is defined, perform a hardware reset on the switch during setup. Signed-off-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx.c | 14

Dear: Account User,

2015-11-18 Thread HelpDesk
Dear: Account User, This message is from the System Administrator support center. Be informed that your E-mail account has exceeded the storage limit set by your administrator/database, you are currently running out of context and you may not be able to send or receive some new mail until you re-v

[PATCH] net: cpsw: Fix ethernet regression for dm814x

2015-11-18 Thread Tony Lindgren
Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac id to common file") started using of_machine_is_compatible for detecting type but missed at dm8148 causing Ethernet to stop working. Let's fix the issue by adding handling for dm814x. Cc: Mugunthan V N Signed-off-by: Tony L

Re: [PATCH net-next 2/2] dsa: mv88e6xxx.c: Hardware reset the chip if available

2015-11-18 Thread Andrew Lunn
> We are embedding reset logic here about the delays and polarity, while > there is now a proper abstraction for this within the reset controller > subsystem under drivers/reset/core.c. Could we utilize that facility > instead which would make us more robust wrt. non-GPIO reset lines (for > instanc

Re: [PATCH 3/3 v2] dl2k: Implement suspend

2015-11-18 Thread Francois Romieu
Ondrej Zary : [...] > diff --git a/drivers/net/ethernet/dlink/dl2k.c > b/drivers/net/ethernet/dlink/dl2k.c > index 9e9baa0..28a96d3 100644 > --- a/drivers/net/ethernet/dlink/dl2k.c > +++ b/drivers/net/ethernet/dlink/dl2k.c [...] > @@ -1824,11 +1831,55 @@ rio_remove1 (struct pci_dev *pdev) >

Re: r8169 regression: UDP packets dropped intermittantly

2015-11-18 Thread Francois Romieu
Jonathan Woithe : [...] > I could try. What's the most reliable way to determine this? Use regular > ethtool queries about the time of the failures? If you are neither space nor cpu constrained: while : ; do echo $(date +%s.%N):$(ethtool -d eth0 raw on | base64 -w 0):$(ethtool -S eth0

Re: [PATCH] tree wide: Use kvfree() than conditional kfree()/vfree()

2015-11-18 Thread David Rientjes
On Mon, 9 Nov 2015, Tetsuo Handa wrote: > There are many locations that do > > if (memory_was_allocated_by_vmalloc) > vfree(ptr); > else > kfree(ptr); > > but kvfree() can handle both kmalloc()ed memory and vmalloc()ed memory > using is_vmalloc_addr(). Unless callers have special rea

Re: [PATCH v4 2/4] Always running timer correlated clocksource

2015-11-18 Thread Jacob Pan
On Mon, 12 Oct 2015 11:45:20 -0700 "Hall, Christopher S" wrote: took a while to read the code, i have a few comments/questions > > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c > index c3f7602..c3f098c 100644 > --- a/arch/x86/kernel/tsc.c > +++ b/arch/x86/kernel/tsc.c > @@ -820,7 +820

Re: [PATCH net-next 2/2] dsa: mv88e6xxx.c: Hardware reset the chip if available

2015-11-18 Thread Florian Fainelli
On 18/11/15 15:29, Andrew Lunn wrote: > The device tree binding now allows a gpio to be specified which is > attached to the switch chips reset line. If it is defined, perform > a hardware reset on the switch during setup. > > Signed-off-by: Andrew Lunn > --- > drivers/net/dsa/mv88e6xxx.c | 14 +

more statistics (was: [PATCH] unix: avoid use-after-free in ep_remove_wait_queue (w/ Fixes:))

2015-11-18 Thread Rainer Weikusat
Rainer Weikusat writes: [...] > Some more information on this: Running the test program included below > on my 'work' system (otherwise idle, after logging in via VT with no GUI > running)/ quadcore AMD A10-5700, 3393.984 for 20 times/ patched 4.3 resulted > in the > following throughput statis

Re: [PATCH] ravb: fix WARNING in __free_irq()

2015-11-18 Thread Simon Horman
On Thu, Nov 19, 2015 at 01:39:51AM +0300, Sergei Shtylyov wrote: > When the R8A7795 support was added to the driver, little attention was paid > to the ravb_open() error path: free_irq() for the EMAC interrupt was called > uncoditionally, unlike request_irq(), and in a wrong order as well... > A

[PATCH net-next 0/2] DSA: GPIO to reset switches

2015-11-18 Thread Andrew Lunn
These two patches add support for using a GPIO to hard reset a switch during setup. Andrew Lunn (2): net: dsa: Add support for a switch reset gpio dsa: mv88e6xxx.c: Hardware reset the chip if available Documentation/devicetree/bindings/net/dsa/dsa.txt | 3 +++ drivers/net/dsa/mv88e6xxx.c

[PATCH net-next 1/2] net: dsa: Add support for a switch reset gpio

2015-11-18 Thread Andrew Lunn
Some boards have a gpio line tied to the switch reset pin. Allow this gpio to be retrieved from the device tree, and take the switch out of reset before performing the probe. Signed-off-by: Andrew Lunn --- Documentation/devicetree/bindings/net/dsa/dsa.txt | 3 +++ include/net/dsa.h

[PATCH net-next 2/2] dsa: mv88e6xxx.c: Hardware reset the chip if available

2015-11-18 Thread Andrew Lunn
The device tree binding now allows a gpio to be specified which is attached to the switch chips reset line. If it is defined, perform a hardware reset on the switch during setup. Signed-off-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx.c | 14 ++ 1 file changed, 14 insertions(+) dif

Re: [PATCH] arm64: bpf: fix buffer pointer

2015-11-18 Thread Shi, Yang
On 11/18/2015 1:41 PM, Z Lim wrote: On Wed, Nov 18, 2015 at 1:07 PM, Shi, Yang wrote: On 11/18/2015 12:56 AM, Zi Shen Lim wrote: emit_a64_mov_i64(r3, size, ctx); - emit(A64_ADD_I(1, r4, fp, MAX_BPF_STACK), ctx); + emit(A64_SUB_I(1, r4, fp, STACK_SIZ

[PATCH] ravb: fix WARNING in __free_irq()

2015-11-18 Thread Sergei Shtylyov
When the R8A7795 support was added to the driver, little attention was paid to the ravb_open() error path: free_irq() for the EMAC interrupt was called uncoditionally, unlike request_irq(), and in a wrong order as well... As a result, on the R-Car gen2 SoCs I started getting the following in cas

Re: [PATCH] net: dns_resolver: convert time_t to time64_t

2015-11-18 Thread David Howells
David Miller wrote: > From: Aya Mahfouz > Date: Wed, 18 Nov 2015 08:36:44 +0200 > > > Changes the definition of the pointer _expiry from time_t to > > time64_t. This is to handle the Y2038 problem where time_t > > will overflow in the year 2038. The change is safe because > > the kernel subsyst

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Hannes Frederic Sowa
On Wed, Nov 18, 2015, at 22:42, Stefan Priebe wrote: > > Am 18.11.2015 um 22:40 schrieb Hannes Frederic Sowa: > > On Wed, Nov 18, 2015, at 22:36, Stefan Priebe wrote: > >> sorry here it is. What I'm wondering is why is there ipv6 stuff? I don't > >> have ipv6 except for link local. Could it be thi

Re: [PATCH] fm10k: fix memory leak

2015-11-18 Thread Eric Dumazet
On Tue, 2015-11-17 at 14:24 -0800, Stephen Hemminger wrote: > This was detected by Coverity. > The function skb_cow_head leaves skb alone on failure, so caller needs > to free. > > Signed-off-by: Stephen Hemminger > > --- a/drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 2015-11-17 > 13:33:40.0

Re: [PATCH] ethernet/atheros/alx: add Killer E2400 device ID

2015-11-18 Thread Jason Gerard DeRose
On 11/18/2015 01:06 PM, David Miller wrote: From: Jason Gerard DeRose Date: Tue, 17 Nov 2015 18:21:07 -0700 From: Ben Pope This patch adds the PCI device ID (0xe0a1) and alx_pci_tbl entry for the Killer E2400 Ethernet controller, modeled after the Killer E2200 controller support (0xe091) alr

Re: [PATCH 13/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

2015-11-18 Thread Johannes Weiner
On Wed, Nov 18, 2015 at 05:22:56PM +0100, Michal Hocko wrote: > On Mon 16-11-15 13:18:10, Johannes Weiner wrote: > > What load would you test and what would be the baseline to compare it > > to? > > It seems like netperf with a stream load running in a memcg with no > limits vs. in root memcg (and

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Stefan Priebe
Am 18.11.2015 um 22:40 schrieb Hannes Frederic Sowa: On Wed, Nov 18, 2015, at 22:36, Stefan Priebe wrote: sorry here it is. What I'm wondering is why is there ipv6 stuff? I don't have ipv6 except for link local. Could it be this one? https://bugzilla.redhat.com/show_bug.cgi?id=505105#c79 Thre

Re: [PATCH] arm64: bpf: fix buffer pointer

2015-11-18 Thread Z Lim
On Wed, Nov 18, 2015 at 1:07 PM, Shi, Yang wrote: > On 11/18/2015 12:56 AM, Zi Shen Lim wrote: >> emit_a64_mov_i64(r3, size, ctx); >> - emit(A64_ADD_I(1, r4, fp, MAX_BPF_STACK), ctx); >> + emit(A64_SUB_I(1, r4, fp, STACK_SIZE), ctx); > > > Should not it

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Hannes Frederic Sowa
On Wed, Nov 18, 2015, at 22:36, Stefan Priebe wrote: > sorry here it is. What I'm wondering is why is there ipv6 stuff? I don't > have ipv6 except for link local. Could it be this one? > > https://bugzilla.redhat.com/show_bug.cgi?id=505105#c79 > > Thread 31 (Thread 0x7f295c011700 (LWP 26654)): >

[PATCH 1/3 v2] dl2k: Handle memory allocation errors in alloc_list

2015-11-18 Thread Ondrej Zary
If memory allocation fails in alloc_list(), free the already allocated memory and return -ENOMEM. In rio_open(), call alloc_list() first and abort if it fails. Move HW access (set RFDListPtr) out ot alloc_list(). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 182 +++

[PATCH 2/3] dl2k: Reorder and cleanup initialization

2015-11-18 Thread Ondrej Zary
Move HW init and stop into separate functions. Request IRQ only after the HW has been reset (so interrupts are disabled and no stale interrupts are pending). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 95 ++--- 1 file changed, 56 insertio

[PATCH 3/3 v2] dl2k: Implement suspend

2015-11-18 Thread Ondrej Zary
Add suspend/resume support to dl2k driver. Tested on Asus NX1101 (IP1000A) and D-Link DGE-550T (DL-2000). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 55 +++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethe

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Stefan Priebe
Am 18.11.2015 um 22:18 schrieb Florian Weimer: On 11/18/2015 09:23 PM, Stefan Priebe wrote: Am 17.11.2015 um 20:43 schrieb Thomas Gleixner: On Tue, 17 Nov 2015, Stefan Priebe wrote: I've now also two gdb backtraces from two crashes: http://pastebin.com/raw.php?i=yih5jNt8 http://pastebin.com/

Re: [PATCH v2 10/27] iwlwifi: move under intel vendor directory

2015-11-18 Thread David Miller
From: Emmanuel Grumbach Date: Wed, 18 Nov 2015 23:21:31 +0200 > I am sorry but I'd prefer to wait with this. We have a big machinery > of scripts / builds and alike that will break. Sorry, that's not a reason to stop this reorganization. -- To unsubscribe from this list: send the line "unsubscri

Re: [PATCH] net: dns_resolver: convert time_t to time64_t

2015-11-18 Thread David Miller
From: Arnd Bergmann Date: Wed, 18 Nov 2015 22:08:54 +0100 > On Wednesday 18 November 2015 15:20:25 David Miller wrote: >> From: Aya Mahfouz >> Date: Wed, 18 Nov 2015 08:36:44 +0200 >> >> > Changes the definition of the pointer _expiry from time_t to >> > time64_t. This is to handle the Y2038 pr

Re: [PATCH net] net/ip6_tunnel: fix dst leak

2015-11-18 Thread David Miller
From: Paolo Abeni Date: Wed, 18 Nov 2015 16:40:19 +0100 > the commit cdf3464e6c6b ("ipv6: Fix dst_entry refcnt bugs in ip6_tunnel") > introduced percpu storage for ip6_tunnel dst cache, but while clearing > such cache it used raw_cpu_ptr to walk the per cpu entries, so cached > dst on non current

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Stefan Priebe
Am 18.11.2015 um 22:18 schrieb Florian Weimer: On 11/18/2015 09:23 PM, Stefan Priebe wrote: Am 17.11.2015 um 20:43 schrieb Thomas Gleixner: On Tue, 17 Nov 2015, Stefan Priebe wrote: I've now also two gdb backtraces from two crashes: http://pastebin.com/raw.php?i=yih5jNt8 http://pastebin.com

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Hannes Frederic Sowa
On Wed, Nov 18, 2015, at 22:20, Stefan Priebe wrote: > you mean just: > la /proc/$pid/fd ls -l /proc/pid/fd/ the numbers in brackets in return from readlink are the inode numbers. > and > > cat /proc/net/netlink Exactly, last row is the inode number. Bye, Hannes -- To unsubscribe from this li

Re: [PATCH v2 10/27] iwlwifi: move under intel vendor directory

2015-11-18 Thread Emmanuel Grumbach
Hi Kalle, On Wed, Nov 18, 2015 at 4:45 PM, Kalle Valo wrote: > > Part of reorganising wireless drivers directory and Kconfig. > I am sorry but I'd prefer to wait with this. We have a big machinery of scripts / builds and alike that will break. I did give a heads up a while ago to the people in c

[PATCH net-next] net: encx24j600: move rev announcement to probe function

2015-11-18 Thread jon
From: Jon Ringle When encx24j600 is open and closed many times due to userspace polling the interface, the log gets noise with this log message. Moving this to encx24j600_spi_probe function where it belongs. Signed-off-by: Jon Ringle --- drivers/net/ethernet/microchip/encx24j600.c | 24 ++

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Stefan Priebe
Am 18.11.2015 um 22:00 schrieb Hannes Frederic Sowa: On Wed, Nov 18, 2015, at 21:23, Stefan Priebe wrote: Am 17.11.2015 um 20:43 schrieb Thomas Gleixner: On Tue, 17 Nov 2015, Stefan Priebe wrote: I've now also two gdb backtraces from two crashes: http://pastebin.com/raw.php?i=yih5jNt8 http

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Florian Weimer
On 11/18/2015 09:23 PM, Stefan Priebe wrote: > > Am 17.11.2015 um 20:43 schrieb Thomas Gleixner: >> On Tue, 17 Nov 2015, Stefan Priebe wrote: >>> I've now also two gdb backtraces from two crashes: >>> http://pastebin.com/raw.php?i=yih5jNt8 >>> >>> http://pastebin.com/raw.php?i=kGEcvH4T >> >> They

Re: [PATCH v2 net-next 00/14] net: extend busy polling support

2015-11-18 Thread David Miller
From: Eric Dumazet Date: Wed, 18 Nov 2015 06:30:49 -0800 > This patch series extends busy polling range to tunnels devices, > and adds busy polling generic support to all NAPI drivers. > > No need to provide ndo_busy_poll() method and extra synchronization > between ndo_busy_poll() and normal na

Re: [PATCH] net: dns_resolver: convert time_t to time64_t

2015-11-18 Thread Arnd Bergmann
On Wednesday 18 November 2015 15:20:25 David Miller wrote: > From: Aya Mahfouz > Date: Wed, 18 Nov 2015 08:36:44 +0200 > > > Changes the definition of the pointer _expiry from time_t to > > time64_t. This is to handle the Y2038 problem where time_t > > will overflow in the year 2038. The change i

Re: [PATCH] arm64: bpf: fix buffer pointer

2015-11-18 Thread Shi, Yang
On 11/18/2015 12:56 AM, Zi Shen Lim wrote: During code review, I noticed we were passing a bad buffer pointer to bpf_load_pointer helper function called by jitted code. Point to the buffer allocated by JIT, so we don't silently corrupt other parts of the stack. Signed-off-by: Zi Shen Lim ---

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Hannes Frederic Sowa
On Wed, Nov 18, 2015, at 21:23, Stefan Priebe wrote: > > Am 17.11.2015 um 20:43 schrieb Thomas Gleixner: > > On Tue, 17 Nov 2015, Stefan Priebe wrote: > >> I've now also two gdb backtraces from two crashes: > >> http://pastebin.com/raw.php?i=yih5jNt8 > >> > >> http://pastebin.com/raw.php?i=kGEcv

Re: [PATCH] fm10k: fix memory leak

2015-11-18 Thread Jeff Kirsher
On Wed, 2015-11-18 at 15:06 -0500, David Miller wrote: > From: Stephen Hemminger > Date: Tue, 17 Nov 2015 14:24:27 -0800 > > > This was detected by Coverity. > > The function skb_cow_head leaves skb alone on failure, so caller > > needs > > to free. > > > > Signed-off-by: Stephen Hemminger > >

Re: Add a SOCK_DESTROY operation to close sockets from userspace

2015-11-18 Thread Hannes Frederic Sowa
On Wed, Nov 18, 2015, at 21:35, David Miller wrote: > From: Lorenzo Colitti > Date: Wed, 18 Nov 2015 19:47:21 +0900 > > > On Wed, Nov 18, 2015 at 7:19 PM, Hannes Frederic Sowa > > wrote: > >> I bet there will soon be a timewaitd which handles the not configurable > >> (David has rejected all tho

[PATCH net] tcp: md5: fix lockdep annotation

2015-11-18 Thread Eric Dumazet
From: Eric Dumazet When a passive TCP is created, we eventually call tcp_md5_do_add() with sk pointing to the child. It is not owner by the user yet (we will add this socket into listener accept queue a bit later anyway) But we do own the spinlock, so amend the lockdep annotation to avoid follow

Re: [PATCH] arm64: bpf: fix buffer pointer

2015-11-18 Thread David Miller
From: Zi Shen Lim Date: Wed, 18 Nov 2015 00:56:02 -0800 > During code review, I noticed we were passing a bad buffer pointer > to bpf_load_pointer helper function called by jitted code. > > Point to the buffer allocated by JIT, so we don't silently corrupt > other parts of the stack. > > Signed

Re: Add a SOCK_DESTROY operation to close sockets from userspace

2015-11-18 Thread David Miller
From: Lorenzo Colitti Date: Wed, 18 Nov 2015 19:47:21 +0900 > On Wed, Nov 18, 2015 at 7:19 PM, Hannes Frederic Sowa > wrote: >> I bet there will soon be a timewaitd which handles the not configurable >> (David has rejected all those patches so far) timeout of TIME_WAIT >> sockets. And I bet it w

Re: Asterisk deadlocks since Kernel 4.1

2015-11-18 Thread Stefan Priebe
Am 17.11.2015 um 20:43 schrieb Thomas Gleixner: On Tue, 17 Nov 2015, Stefan Priebe wrote: I've now also two gdb backtraces from two crashes: http://pastebin.com/raw.php?i=yih5jNt8 http://pastebin.com/raw.php?i=kGEcvH4T They don't tell me anything as I have no idea of the inner workings of as

Re: [PATCH net-next] be2net: remove local variable 'status'

2015-11-18 Thread David Miller
From: Ivan Vecera Date: Wed, 18 Nov 2015 14:06:34 +0100 > The lancer_cmd_get_file_len() uses lancer_cmd_read_object() to get > the current size of registers for ethtool registers dump. Returned status > value is stored but not checked. The check itself is not necessary as > the data_read output v

Re: [PATCH] net: dns_resolver: convert time_t to time64_t

2015-11-18 Thread David Miller
From: Aya Mahfouz Date: Wed, 18 Nov 2015 08:36:44 +0200 > Changes the definition of the pointer _expiry from time_t to > time64_t. This is to handle the Y2038 problem where time_t > will overflow in the year 2038. The change is safe because > the kernel subsystems that call dns_query pass NULL. >

[PATCH net,stable] net: qmi_wwan: add XS Stick W100-2 from 4G Systems

2015-11-18 Thread Bjørn Mork
Thomas reports " 4gsystems sells two total different LTE-surfsticks under the same name. .. The newer version of XS Stick W100 is from "omega" .. Under windows the driver switches to the same ID, and uses MI03\6 for network and MI01\6 for modem. .. echo "1c9e 9b01" > /sys/bus/usb/drivers/qmi_wwan/n

Re: [PATCH] net: macb: Add support for sgmii phy interface

2015-11-18 Thread David Miller
From: Punnaiah Choudary Kalluri Date: Wed, 18 Nov 2015 09:03:50 +0530 > This patch adds support for the sgmii phy interface. > > Signed-off-by: Punnaiah Choudary Kalluri Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message t

Re: [PATCH v3 net-next] net: hisilicon: fix binding document of mdio

2015-11-18 Thread David Miller
From: huangdaode Date: Wed, 18 Nov 2015 10:08:00 +0800 > This patch explains the occasion of "hisilcon,mdio" and > "hisilicon,hns-mdio" according to Arnd's comments. > and reformat it according to comments from Rob. > > Signed-off-by: huangdaode Applied, thanks. -- To unsubscribe from this lis

Re: [PATCH] hdlc: fix null-deref on allocation failure

2015-11-18 Thread David Miller
From: Stephen Hemminger Date: Tue, 17 Nov 2015 14:26:06 -0800 > If alloc_netdev() failed and return NULL, then the next instruction > would dereference it. Found by Coverity. > > Compile tested only. Not sure if anyone still uses this driver > (or the whole WAN subsystem). > > Signed-off-by: St

Re: [PATCH] ethernet/atheros/alx: add Killer E2400 device ID

2015-11-18 Thread David Miller
From: Jason Gerard DeRose Date: Tue, 17 Nov 2015 18:21:07 -0700 > From: Ben Pope > > This patch adds the PCI device ID (0xe0a1) and alx_pci_tbl entry for the > Killer E2400 Ethernet controller, modeled after the Killer E2200 > controller support (0xe091) already present in the alx driver. > >

Re: [PATCH] fm10k: fix memory leak

2015-11-18 Thread David Miller
From: Stephen Hemminger Date: Tue, 17 Nov 2015 14:24:27 -0800 > This was detected by Coverity. > The function skb_cow_head leaves skb alone on failure, so caller needs > to free. > > Signed-off-by: Stephen Hemminger Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev"

Re: udp: remove duplicate include

2015-11-18 Thread David Miller
From: Stephen Hemminger Date: Tue, 17 Nov 2015 13:46:48 -0800 > Signed-off-by: Stephen Hemminger Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 06/27] brcm80211: move under broadcom vendor directory

2015-11-18 Thread Florian Fainelli
On 18/11/15 11:19, Hauke Mehrtens wrote: > On 11/18/2015 03:45 PM, Kalle Valo wrote: >> Part of reorganising wireless drivers directory and Kconfig. Note that I had >> to >> edit Makefiles from subdirectories to use the new location. >> >> Signed-off-by: Kalle Valo >> --- > > I would prefer to r

Re: [PATCH v2 06/27] brcm80211: move under broadcom vendor directory

2015-11-18 Thread Hauke Mehrtens
On 11/18/2015 03:45 PM, Kalle Valo wrote: > Part of reorganising wireless drivers directory and Kconfig. Note that I had > to > edit Makefiles from subdirectories to use the new location. > > Signed-off-by: Kalle Valo > --- I would prefer to remove the brcm80211 directory in this process and cr

[PATCH iproute2] Add support for rt_tables.d

2015-11-18 Thread David Ahern
Add support for reading table id/name mappings from rt_tables.d directory. Signed-off-by: David Ahern --- lib/rt_names.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/lib/rt_names.c b/lib/rt_names.c index e87c65dad39e..d835ff9c7ee0 100644 --- a/lib/rt_names.c +++ b/lib/

Re: [PATCH net-next] net: encx24j600: quiet logging noise on open

2015-11-18 Thread David Miller
From: j...@ringle.org Date: Tue, 17 Nov 2015 16:42:31 -0500 > From: Jon Ringle > > When encx24j600 is open and closed many times due to userspace polling the > interface, the log gets noise with this log message. Change logging level > to debug > > Signed-off-by: Jon Ringle This should be mov

Re: [PATCH V2 net-next 1/5] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem

2015-11-18 Thread David Miller
From: Salil Date: Wed, 18 Nov 2015 02:52:23 +0800 > @@ -387,19 +409,23 @@ static void hns_rcb_ring_get_cfg(struct hnae_queue *q, > int ring_type) > struct rcb_common_cb *rcb_common; > struct ring_pair_cb *ring_pair_cb; > u32 buf_size; > - u16 desc_num; > - int irq_idx;

Re: [PATCH] net ipv4: use preferred log methods

2015-11-18 Thread David Miller
From: Bastian Stender Date: Fri, 13 Nov 2015 11:40:34 +0100 > Replace printk calls with preferred unconditional log method calls to keep > kernel messages clean. > > Added newline to "too small MTU" message. > > Signed-off-by: Bastian Stender Applied to net-next, thanks. -- To unsubscribe fro

Re: [PATCH -next] net: tcp: move to timewait when receiving data post active-close

2015-11-18 Thread Eric Dumazet
On Wed, 2015-11-18 at 18:35 +0100, Hannes Frederic Sowa wrote: > On Wed, Nov 18, 2015, at 18:28, Eric Dumazet wrote: > > On Wed, 2015-11-18 at 16:54 +0100, Hannes Frederic Sowa wrote: > > > > > Still, the RST packet can be dropped along the way. So the teardown of > > > the socket on the other sid

Re: [PATCH 14/14] mm: memcontrol: hook up vmpressure to socket pressure

2015-11-18 Thread Johannes Weiner
On Wed, Nov 18, 2015 at 07:02:54PM +0300, Vladimir Davydov wrote: > On Tue, Nov 17, 2015 at 05:22:17PM -0500, Johannes Weiner wrote: > > On Tue, Nov 17, 2015 at 11:18:50PM +0300, Vladimir Davydov wrote: > > > And with this patch it will work this way, but only if sum limits < > > > total ram, which

Re: [PATCH] unix: avoid use-after-free in ep_remove_wait_queue (w/ Fixes:)

2015-11-18 Thread Rainer Weikusat
David Miller writes: > From: Rainer Weikusat > Date: Mon, 16 Nov 2015 22:28:40 + > >> An AF_UNIX datagram socket being the client in an n:1 [...] > So because of a corner case of epoll handling and sender socket release, > every single datagram sendmsg has to do a double lock now? > > I do

Re: [PATCH] ethernet/atheros/alx: add Killer E2400 device ID

2015-11-18 Thread Jason Gerard DeRose
On 11/18/2015 10:47 AM, Sergei Shtylyov wrote: On 11/18/2015 05:52 PM, Jason Gerard DeRose wrote: From: Ben Pope This patch adds the PCI device ID (0xe0a1) and alx_pci_tbl entry for the Killer E2400 Ethernet controller, modeled after the Killer E2200 controller support (0xe091) already pres

Re: lockdep problem? netlink_dump & rtnl_lock

2015-11-18 Thread Cong Wang
On Wed, Nov 18, 2015 at 2:11 AM, Arkadiusz Miskiewicz wrote: > > Hi. > > I'm running 4.3.0 kernel (+ few backported mm patches). Machine is doing many > rsnapshots > in parallel (so heavily loaded). > > I'm seeing this from time to time (below). What would be the reason for so > long hangs? It

Re: [PATCH] ethernet/atheros/alx: add Killer E2400 device ID

2015-11-18 Thread Sergei Shtylyov
On 11/18/2015 05:52 PM, Jason Gerard DeRose wrote: From: Ben Pope This patch adds the PCI device ID (0xe0a1) and alx_pci_tbl entry for the Killer E2400 Ethernet controller, modeled after the Killer E2200 controller support (0xe091) already present in the alx driver. This patch was originally

Re: [PATCH net] net/ip6_tunnel: fix dst leak

2015-11-18 Thread Martin KaFai Lau
On Wed, Nov 18, 2015 at 04:40:19PM +0100, Paolo Abeni wrote: > the commit cdf3464e6c6b ("ipv6: Fix dst_entry refcnt bugs in ip6_tunnel") > introduced percpu storage for ip6_tunnel dst cache, but while clearing > such cache it used raw_cpu_ptr to walk the per cpu entries, so cached > dst on non curr

Re: [PATCH -next] net: tcp: move to timewait when receiving data post active-close

2015-11-18 Thread Hannes Frederic Sowa
On Wed, Nov 18, 2015, at 18:28, Eric Dumazet wrote: > On Wed, 2015-11-18 at 16:54 +0100, Hannes Frederic Sowa wrote: > > > Still, the RST packet can be dropped along the way. So the teardown of > > the socket on the other side might not happen. > > This is why it is better to send RST for every i

Re: [PATCH -next] net: tcp: move to timewait when receiving data post active-close

2015-11-18 Thread Florian Westphal
Eric Dumazet wrote: > On Wed, 2015-11-18 at 16:54 +0100, Hannes Frederic Sowa wrote: > > > Still, the RST packet can be dropped along the way. So the teardown of > > the socket on the other side might not happen. > > This is why it is better to send RST for every incoming in-excess packet I'm c

[PATCH v7] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-18 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard --- Changes: - fix int / unsigned int mismatch - spell out "unsigned int" --- drivers/net/ethernet/Kconfig

Re: [PATCH -next] net: tcp: move to timewait when receiving data post active-close

2015-11-18 Thread Eric Dumazet
On Wed, 2015-11-18 at 16:54 +0100, Hannes Frederic Sowa wrote: > Still, the RST packet can be dropped along the way. So the teardown of > the socket on the other side might not happen. This is why it is better to send RST for every incoming in-excess packet Try following packetdrill test, before

Re: [RFC][PATCH] net: arinc429: Add ARINC-429 stack

2015-11-18 Thread Marek Vasut
On Wednesday, November 18, 2015 at 05:38:02 PM, Aleksander Morgado wrote: > On Tue, Nov 10, 2015 at 5:15 PM, Marek Vasut wrote: > >> >> >>> > About the parity -- can we add some flag into the datagram to > >> >> >>> > indicate we want hardware to calculate the parity for that > >> >> >>> > particu

Re: [RFC][PATCH] net: arinc429: Add ARINC-429 stack

2015-11-18 Thread Aleksander Morgado
On Tue, Nov 10, 2015 at 5:15 PM, Marek Vasut wrote: >> >> >>> > About the parity -- can we add some flag into the datagram to >> >> >>> > indicate we want hardware to calculate the parity for that >> >> >>> > particular datagram for us? And we'd also need to indicate what >> >> >>> > type of parit

Re: [PATCH v2 21/27] realtek: create separate Kconfig file

2015-11-18 Thread Larry Finger
On 11/18/2015 08:46 AM, Kalle Valo wrote: Add new a Kconfig file and a vendor config for realtek. Also update MAINTAINERS which we missed to do when earlier moving rtlwifi. Signed-off-by: Kalle Valo --- Acked-by: Larry Finger Thanks, Larry MAINTAINERS |8 ++

Re: [PATCH 13/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

2015-11-18 Thread Michal Hocko
On Mon 16-11-15 13:18:10, Johannes Weiner wrote: > On Mon, Nov 16, 2015 at 04:59:25PM +0100, Michal Hocko wrote: > > On Thu 12-11-15 18:41:32, Johannes Weiner wrote: > > > Socket memory can be a significant share of overall memory consumed by > > > common workloads. In order to provide reasonable r

  1   2   3   >