Re: Soft lockup issue in Linux 4.1.9

2015-10-01 Thread Andre Tomt
On 01. okt. 2015 13:52, Eric Dumazet wrote: On Thu, Oct 1, 2015 at 4:43 AM, Holger Hoffstätte wrote: On 10/01/15 13:29, Eric Dumazet wrote: commit 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af Author: Eric Dumazet Date: Thu Aug 13 15:44:51 2015 -0700 inet: fix potential deadlock in reqsk

Re: [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key

2015-10-01 Thread kbuild test robot
Hi David, [auto build test results on next-20151001 -- if it's inappropriate base, please ignore] config: mips-nlm_xlp_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross

Re: [PATCH 1/2] ne: Add h8300 support.

2015-10-01 Thread Yoshinori Sato
On Mon, 28 Sep 2015 04:51:30 +0900, David Miller wrote: > > From: Yoshinori Sato > Date: Sun, 27 Sep 2015 23:19:15 +0900 > > > @@ -88,7 +88,7 @@ config MCF8390 > > config NE2000 > > tristate "NE2000/NE1000 support" > > depends on (ISA || (Q40 && m) || M32R || MACH_TX49XX || \ > > -

[PATCH v2 2/2] ne: DeviceTree support.

2015-10-01 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- Documentation/devicetree/bindings/net/ne2000.txt | 17 + drivers/net/ethernet/8390/ne.c | 20 +++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/net/ne2000.

[PATCH v2 1/2] ne: Add h8300 support.

2015-10-01 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/net/ethernet/8390/Kconfig | 2 +- drivers/net/ethernet/8390/ne.c| 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/8390/Kconfig b/drivers/net/ethernet/8390/Kconfig index edf7225..44d7167 100644 --- a/drivers/

Re: [PATCH net-next v2 4/4] openvswitch: IPv6 support for ovs_tunnel_get_egress_info

2015-10-01 Thread Jiri Benc
On Thu, 1 Oct 2015 17:11:56 -0700, Pravin Shelar wrote: > I dont see point of adding this code when IPv6 sampling not support by > the patch series. It was requested by Jesse: http://article.gmane.org/gmane.linux.network/380348 I don't mind leaving this and the previous patch out, it's actually w

Re: [PATCH net-next v2 3/4] ip_tunnels: introduce ip6_tunnel_key_init

2015-10-01 Thread Jiri Benc
On Thu, 1 Oct 2015 17:11:43 -0700, Pravin Shelar wrote: > On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > > +static inline void ip_tunnel_key_init(struct ip_tunnel_key *key, > > + __be32 saddr, __be32 daddr, > > + u8 tos, u

Re: [v5, 2/6] fsl/fman: Add FMan support

2015-10-01 Thread Scott Wood
On Thu, Sep 24, 2015 at 12:10:34PM +0300, igal.liber...@freescale.com wrote: > +int fman_get_rx_extra_headroom(void) > +{ > + static bool fm_check_rx_extra_headroom; > + > + if (!fm_check_rx_extra_headroom) { > + if (fsl_fm_rx_extra_headroom > FSL_FM_RX_EXTRA_HEADROOM_MAX || > +

netpoll_send_skb_on_dev warning with bnx2

2015-10-01 Thread Vinson Lee
Hi. I am seeing a netpoll_send_skb_on_dev warning with bnx2. It happens on Linux 4.1 and I am able to reproduce the warning with Linux 4.3-rc3. [ cut here ] WARNING: CPU: 11 PID: 3110 at net/core/netpoll.c:368 netpoll_send_skb_on_dev+0x183/0x201() netpoll_send_skb_on_dev()

[net] i40e: fix offload of GRE tunnels

2015-10-01 Thread Jeff Kirsher
From: Jesse Brandeburg The driver still was not offloading TSO on GRE tunnels because it forgot to set the GSO_GRE flag, causing lots of retransmits. This fixes generic GRE traffic (like a tunnel added like below) whereas before it would get 1Gb/s or less, now on a 10G adapter it gets 8.7Gb/s.

[PATCH nf-next] ipvs: Don't protect ip_vs_addr_is_unicast with CONFIG_SYSCTL

2015-10-01 Thread Simon Horman
From: "Eric W. Biederman" I arranged the code so that the compiler can remove the unecessary bits in ip_vs_leave when CONFIG_SYSCTL is unset, and removed an explicit CONFIG_SYSCTL. Unfortunately when rebasing my work on top of that of Alex Gartrell I missed the fact that the newly added function

[GIT PULL nf-next] Third Round of IPVS Updates for v4.4

2015-10-01 Thread Simon Horman
Hi Pablo, please consider this build fix from Eric Biederman which resolves a build problem introduced in is excellent work to cleanup IPVS which you recently pulled: its queued up for v4.4 so no need to worry about earlier kernel versions. I have another minor cleanup, to fix a build warning, pe

Re: [v3 1/8] devres: add devm_alloc_percpu()

2015-10-01 Thread Scott Wood
On Thu, Sep 24, 2015 at 06:00:12PM +0300, Madalin Bucur wrote: > Introduce managed counterparts for alloc_percpu() and free_percpu(). > Add devm_alloc_percpu() and devm_free_percpu() into the managed > interfaces list. > > Signed-off-by: Madalin Bucur > Tested-by: Madalin-Cristian Bucur > --- >

Re: [PATCH] ipvs: Remove unused net variable from ip_vs_out

2015-10-01 Thread kbuild test robot
Hi Simon, [auto build test results on next-20151001 -- if it's inappropriate base, please ignore] config: i386-randconfig-i1-201539 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefix

Re: [PATCH net-next 0/5] bridge: vlan: cleanups & fixes

2015-10-01 Thread David Miller
From: Nikolay Aleksandrov Date: Wed, 30 Sep 2015 20:16:50 +0200 > This is the first follow-up set, patch 01 reduces the default rhashtable > size and the number of locks that can be allocated. Patch 02 and 04 fix > possible null pointer dereferences due to the new ordering and > initialization on

Re: linux-next: Tree for Oct 1 (ipvs)

2015-10-01 Thread Simon Horman
Hi Randy, On Thu, Oct 01, 2015 at 10:26:14AM -0700, Randy Dunlap wrote: > On 09/30/15 23:50, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20150930: > > > > on x86_64: > > ../net/netfilter/ipvs/ip_vs_core.c: In function 'ip_vs_leave': > ../net/netfilter/ipvs/ip_vs_core.c:584:6: err

[PATCH] ipvs: Remove unused net variable from ip_vs_out

2015-10-01 Thread Simon Horman
Since 6f2bcea9917d ("ipvs: Pass ipvs into ip_vs_in_icmp and ip_vs_in_icmp_v6") the net net variable in ip_vs_out() appears to be unused so remove it. Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/netfilter/ipvs/ip_vs_core.c

[GIT] Networking

2015-10-01 Thread David Miller
1) Fix regression in SKB partial checksum handling, from Pravin B Shalar. 2) Fix VLAN inside of VXLAN handling in i40e driver, from Jesse Brandeburg. 3) Cure softlockups during accept() in SCTP, from Karl Heiss. 4) MSG_PEEK should return multiple SKBs worth of data in AF_UNIX, from Aar

Re: [PATCH net-next v2 4/4] openvswitch: IPv6 support for ovs_tunnel_get_egress_info

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > For compat tunnel interfaces, reject IPv6 keys. > > Also fixes a related thinko in vport-vxlan: upcall->egress_tun_info is not > yet set at the point where it is used, thus the obtained family is > incorrect. As this is IPv4 anyway, just use AF_IN

Re: [PATCH net-next v2 3/4] ip_tunnels: introduce ip6_tunnel_key_init

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > We already have ip_tunnel_key_init, this does the same for IPv6. Will be > used also by openvswitch in the next patch. > > Signed-off-by: Jiri Benc > --- > New patch in v2 of the set. > --- > include/net/dst_metadata.h | 18 ++ >

Re: [PATCH net-next v2 1/4] openvswitch: add tunnel protocol to sw_flow_key

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > Store tunnel protocol (AF_INET or AF_INET6) in sw_flow_key. This field now > also acts as an indicator whether the flow contains tunnel data (this was > previously indicated by tun_key.u.ipv4.dst being set but with IPv6 addresses > in an union wit

Re: [PATCH net-next v2 2/4] openvswitch: netlink attributes for IPv6 tunneling

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > Add netlink attributes for IPv6 tunnel addresses. This enables IPv6 support > for tunnels. > > Signed-off-by: Jiri Benc > --- > v2: Changed description. Rebased tun_proto assignment in ip_tun_from_nlattr > to accomodate changes in the previou

Re: [PATCH nf-next] netfilter: Line layout whitespace fixes

2015-10-01 Thread Ian Morris
On 30/09/15 23:17, Pablo Neira Ayuso wrote: On Thu, Sep 24, 2015 at 11:10:06AM +0100, Ian Morris wrote: Fixes various whitespace issues detected by checkpatch (e.g. adding spaces between operations, replacing spaces with tabs, etc) No changes detected by objdiff. These large cleanup patch ca

Re: net: panic when removing device due to vrf

2015-10-01 Thread David Ahern
On 10/1/15 4:50 PM, Sasha Levin wrote: Hi David, Commit 93a7e7e837 ("net: Remove the now unused vrf_ptr") is causing a panic whenever I unplug a network device: Cong just sent a patch. Sorry for the trouble. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a

net: panic when removing device due to vrf

2015-10-01 Thread Sasha Levin
657.008034] CPU: 4 PID: 25688 Comm: trinity-c134 Not tainted 4.3.0-rc3-next-20151001-sasha-00077-g0b55 fd2-dirty #2587 [ 5657.008034] task: 8800506e ti: 88000934 task.ti: 88000934 [ 5657.008034] RIP: __netdev_adjacent_dev_remove (net/core/dev.c:5219) [ 5657.008034]

Re: [PATCHv2 7/7] openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 1:53 PM, Joe Stringer wrote: > Previously, the CT_ATTR_FLAGS attribute, when nested under the > OVS_ACTION_ATTR_CT, encoded a 32-bit bitmask of flags that modify the > semantics of the ct action. It's more extensible to just represent each > flag as a nested attribute, and t

Re: [Patch net-next] vrf: fix a kernel warning

2015-10-01 Thread David Ahern
On 10/1/15 4:21 PM, Cong Wang wrote: This fixes: tried to remove device ip6gre0 from (null) ... Fixes: 93a7e7e837af ("net: Remove the now unused vrf_ptr") Cc: David Ahern Signed-off-by: Cong Wang --- drivers/net/vrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [PATCHv2 3/7] openvswitch: Fix skb leak in ovs_fragment()

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 1:53 PM, Joe Stringer wrote: > If ovs_fragment() was unable to fragment the skb due to an L2 header > that exceeds the supported length, skbs would be leaked. Fix the bug. > > Fixes: 7f8a436 "openvswitch: Add conntrack action" > Signed-off-by: Joe Stringer > --- > v2: Drop

Re: [PATCHv3] openvswitch: Rename LABEL->LABELS

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 3:00 PM, Joe Stringer wrote: > Conntrack LABELS (plural) are exposed by conntrack; rename the OVS name > for these to be consistent with conntrack. > > Fixes: c2ac667 "openvswitch: Allow matching on conntrack label" > Signed-off-by: Joe Stringer > --- > v3: Fix build with !

[Patch net-next] vrf: fix a kernel warning

2015-10-01 Thread Cong Wang
This fixes: tried to remove device ip6gre0 from (null) [ cut here ] kernel BUG at net/core/dev.c:5219! invalid opcode: [#1] SMP DEBUG_PAGEALLOC CPU: 3 PID: 161 Comm: kworker/u8:2 Not tainted 4.3.0-rc2+ #1142 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 Work

Re: [PATCH net-next 2/6] openvswitch: Pass net into ovs_fragment

2015-10-01 Thread Nicolas Dichtel
Le 01/10/2015 18:03, Eric W. Biederman a écrit : Nicolas Dichtel writes: Le 30/09/2015 23:25, Eric W. Biederman a écrit : [snip] + struct net *net = read_pnet(&dp->net); nit: add an empty line after variables declaration. __be16 ethertype = ke

Re: [MM PATCH V4.1 5/6] slub: support for bulk free with SLUB freelists

2015-10-01 Thread Andrew Morton
On Wed, 30 Sep 2015 13:44:19 +0200 Jesper Dangaard Brouer wrote: > Make it possible to free a freelist with several objects by adjusting > API of slab_free() and __slab_free() to have head, tail and an objects > counter (cnt). > > Tail being NULL indicate single object free of head object. Thi

Re: iproute2 compatibility

2015-10-01 Thread Stephen Hemminger
On Thu, 1 Oct 2015 20:06:00 + Ani Sinha wrote: > Hi Stephen : > > I was looking around but could not find clear evidence that a later > version of iproute2 is compatible with an older kernel. Specifically, > we are wondering if iproute2 v 3.6 is compatible with linux kernel > 3.4. Highly app

[PATCHv3] openvswitch: Rename LABEL->LABELS

2015-10-01 Thread Joe Stringer
Conntrack LABELS (plural) are exposed by conntrack; rename the OVS name for these to be consistent with conntrack. Fixes: c2ac667 "openvswitch: Allow matching on conntrack label" Signed-off-by: Joe Stringer --- v3: Fix build with !CONFIG_NF_CONNTRACK v2: Change ct_label struct names as well as co

Re

2015-10-01 Thread Mr
A personal donation for you from Liliane Bettencourt. Please reply for more info. Mr Holmes Donation Co ordinator -- 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-inf

Re: [PATCH RFC 3/7] netfilter: add NF_INET_LOCAL_SOCKET_IN chain type

2015-10-01 Thread Marcelo Ricardo Leitner
On Thu, Oct 01, 2015 at 11:07:30PM +0200, Daniel Mack wrote: > On 10/01/2015 07:13 PM, Marcelo Ricardo Leitner wrote: > > On Wed, Sep 30, 2015 at 09:24:21AM +0200, Daniel Mack wrote: > >> On 09/29/2015 11:19 PM, Florian Westphal wrote: > >>> Daniel Mack wrote: > Add a new chain type NF_INET_L

Re: iproute2 compatibility

2015-10-01 Thread Ani Sinha
On Thu, Oct 1, 2015 at 1:48 PM, Eric Dumazet wrote: > On Thu, 2015-10-01 at 13:06 -0700, Ani Sinha wrote: >> Hi Stephen : >> >> I was looking around but could not find clear evidence that a later >> version of iproute2 is compatible with an older kernel. Specifically, >> we are wondering if iprout

Re: [PATCHv2 1/7] openvswitch: Rename LABEL->LABELS

2015-10-01 Thread kbuild test robot
Hi Joe, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-randconfig-s0-201539 (attached as .config) reproduce: git checkout eed31e9f7806b78678a47676a8b841831cbdd582 # save the attached .config to linux build tree make ARCH=i3

Re: [RFT v3] geneve: implement support for IPv6-based tunnels

2015-10-01 Thread Jesse Gross
On Thu, Oct 1, 2015 at 1:03 PM, John W. Linville wrote: > On Thu, Oct 01, 2015 at 09:26:59AM -0700, Jesse Gross wrote: >> On Wed, Sep 30, 2015 at 11:34 AM, John W. Linville >> wrote: >> > +static struct dst_entry *geneve_get_dst(struct sk_buff *skb, >> >> It might be worth clarifying this name -

Re: [PATCH RFC 3/7] netfilter: add NF_INET_LOCAL_SOCKET_IN chain type

2015-10-01 Thread Daniel Mack
On 10/01/2015 07:13 PM, Marcelo Ricardo Leitner wrote: > On Wed, Sep 30, 2015 at 09:24:21AM +0200, Daniel Mack wrote: >> On 09/29/2015 11:19 PM, Florian Westphal wrote: >>> Daniel Mack wrote: Add a new chain type NF_INET_LOCAL_SOCKET_IN which is ran after the input demux is complete and

[PATCH] net/unix: fix logic about sk_peek_offset

2015-10-01 Thread Andrey Vagin
From: Andrey Vagin Now send with MSG_PEEK can return data from multiple SKBs. Unfortunately we take into account the peek offset for each skb, that is wrong. We need to apply the peek offset only once. In addition, the peek offset should be used only if MSG_PEEK is set. Cc: "David S. Miller"

[PATCHv2 1/7] openvswitch: Rename LABEL->LABELS

2015-10-01 Thread Joe Stringer
Conntrack LABELS (plural) are exposed by conntrack; rename the OVS name for these to be consistent with conntrack. Signed-off-by: Joe Stringer --- v2: Change ct_label struct names as well as constants. --- include/uapi/linux/openvswitch.h | 12 +++ net/openvswitch/actions.c| 2 +- n

[PATCHv2 3/7] openvswitch: Fix skb leak in ovs_fragment()

2015-10-01 Thread Joe Stringer
If ovs_fragment() was unable to fragment the skb due to an L2 header that exceeds the supported length, skbs would be leaked. Fix the bug. Fixes: 7f8a436 "openvswitch: Add conntrack action" Signed-off-by: Joe Stringer --- v2: Drop if condition, return in success case. --- net/openvswitch/actions

[PATCHv2 0/7] OVS conntrack fixes for net

2015-10-01 Thread Joe Stringer
The userspace side of the Open vSwitch conntrack changes is currently undergoing review, which has highlighted some minor bugs in the existing conntrack implementation in the kernel, as well as pointing out some future-proofing that can be done on the interface to reduce the need for additional com

[PATCHv2 4/7] openvswitch: Ensure flow is valid before executing ct

2015-10-01 Thread Joe Stringer
The ct action uses parts of the flow key, so we need to ensure that it is valid before executing that action. Fixes: 7f8a436 "openvswitch: Add conntrack action" Signed-off-by: Joe Stringer Acked-by: Pravin B Shelar --- v2: Acked. --- net/openvswitch/actions.c | 6 ++ 1 file changed, 6 inser

[PATCHv2 2/7] openvswitch: Fix typos in CT headers

2015-10-01 Thread Joe Stringer
These comments hadn't caught up to their implementations, fix them. Fixes: 7f8a436 "openvswitch: Add conntrack action" Signed-off-by: Joe Stringer Acked-by: Pravin B Shelar --- v2: Acked. --- include/uapi/linux/openvswitch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCHv2 5/7] openvswitch: Reject ct_state unsupported bits

2015-10-01 Thread Joe Stringer
Previously, if userspace specified ct_state bits in the flow key which are currently undefined (and therefore unsupported), then they would be ignored. This could cause unexpected behaviour in future if userspace is extended to support additional bits but attempts to communicate with the current ve

[PATCHv2 6/7] openvswitch: Extend ct_state match field to 32 bits

2015-10-01 Thread Joe Stringer
The ct_state field was initially added as an 8-bit field, however six of the bits are already being used and use cases are already starting to appear that may push the limits of this field. This patch extends the field to 32 bits while retaining the internal representation of 8 bits. This should co

[PATCHv2 7/7] openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT

2015-10-01 Thread Joe Stringer
Previously, the CT_ATTR_FLAGS attribute, when nested under the OVS_ACTION_ATTR_CT, encoded a 32-bit bitmask of flags that modify the semantics of the ct action. It's more extensible to just represent each flag as a nested attribute, and this requires no additional error checking to reject flags tha

Re: Problem with ICMP rate limiting and redirects

2015-10-01 Thread Eric Dumazet
On Thu, 2015-10-01 at 15:38 -0300, Hugo Vasconcelos Saldanha wrote: > Thanks for pointing that out. > > But how should all the sysctl's that control ICMP messages sent to > specific targets (icmp_ratelimit, redirect_load, redirect_number, > redirect_silence, error_cost and error_burst) be treated

Re: iproute2 compatibility

2015-10-01 Thread Eric Dumazet
On Thu, 2015-10-01 at 13:06 -0700, Ani Sinha wrote: > Hi Stephen : > > I was looking around but could not find clear evidence that a later > version of iproute2 is compatible with an older kernel. Specifically, > we are wondering if iproute2 v 3.6 is compatible with linux kernel > 3.4. Highly appr

Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

2015-10-01 Thread Bjorn Andersson
On Wed 30 Sep 23:54 PDT 2015, Marcel Holtmann wrote: > Hi Bjorn, > > > The Qualcomm WCNSS chip provides two SMD channels to the BT core; one > > for command and one for event packets. This driver exposes the two > > channels as a hci device. > > [..] > > diff --git a/drivers/bluetooth/Makefile b

Re: [RFT v3] geneve: implement support for IPv6-based tunnels

2015-10-01 Thread John W. Linville
On Thu, Oct 01, 2015 at 09:26:59AM -0700, Jesse Gross wrote: > On Wed, Sep 30, 2015 at 11:34 AM, John W. Linville > wrote: > > diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c > > index 8f5c02eed47d..291d3d7754a8 100644 > > --- a/drivers/net/geneve.c > > +++ b/drivers/net/geneve.c > > +#de

iproute2 compatibility

2015-10-01 Thread Ani Sinha
Hi Stephen : I was looking around but could not find clear evidence that a later version of iproute2 is compatible with an older kernel. Specifically, we are wondering if iproute2 v 3.6 is compatible with linux kernel 3.4. Highly appreciate any pointers on this. thanks ani -- To unsubscribe from

Re: [PATCH 03/12] net: igb: avoid using timespec

2015-10-01 Thread Arnd Bergmann
On Thursday 01 October 2015 21:17:45 Richard Cochran wrote: > On Wed, Sep 30, 2015 at 01:26:33PM +0200, Arnd Bergmann wrote: > > diff --git a/drivers/net/ethernet/intel/igb/igb_ptp.c > > b/drivers/net/ethernet/intel/igb/igb_ptp.c > > index 5982f28d521a..c44df87c38de 100644 > > --- a/drivers/net/et

Re: [PATCH 03/12] net: igb: avoid using timespec

2015-10-01 Thread Richard Cochran
Arnd As author of these snippets, I went ahead and reviewed. I have one comment, below. Reviewed-by: Richard Cochran On Wed, Sep 30, 2015 at 01:26:33PM +0200, Arnd Bergmann wrote: > diff --git a/drivers/net/ethernet/intel/igb/igb_ptp.c > b/drivers/net/ethernet/intel/igb/igb_ptp.c > index 5982

Re: [PATCH 02/12] net: stmmac: avoid using timespec

2015-10-01 Thread Richard Cochran
On Wed, Sep 30, 2015 at 01:26:32PM +0200, Arnd Bergmann wrote: > We want to deprecate the use of 'struct timespec' on 32-bit > architectures, as it is will overflow in 2038. The stmmac > driver uses it to read the current time, and can simply > be changed to use ktime_get_real_ts64() instead. > >

Re: [PATCH 01/12] net: fec: avoid timespec use

2015-10-01 Thread Richard Cochran
On Wed, Sep 30, 2015 at 01:26:31PM +0200, Arnd Bergmann wrote: > The fec_ptp_enable_pps uses an open-coded implementation of ns_to_timespec, > which will be removed eventually as it is not y2038-safe on 32-bit > architectures. Two more instances of the same code in this file were > already converte

Re: [PATCH v2 00/14] RDS: connection scalability and performance improvements

2015-10-01 Thread santosh.shilim...@oracle.com
On 10/1/15 9:19 AM, David Laight wrote: From: Santosh Shilimkar Sent: 30 September 2015 18:24 ... This is being addressed by simply using per bucket rw lock which makes the locking simple and very efficient. The hash table size is still an issue and I plan to address it by using re-sizable has

[Patch net] act_mirred: always release tcf hash

2015-10-01 Thread Cong Wang
Align with other tc actions. Cc: Jamal Hadi Salim Signed-off-by: Cong Wang Signed-off-by: Cong Wang --- net/sched/act_mirred.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c index 3e7c51a..2efaf4e 100644 --- a/net/sched

[Patch net] act_mirred: fix a race condition on mirred_list

2015-10-01 Thread Cong Wang
After commit 1ce87720d456 ("net: sched: make cls_u32 lockless") we began to release tc actions in a RCU callback. However, mirred action relies on RTNL lock to protect the global mirred_list, therefore we could have a race condition between RCU callback and netdevice event, which caused a list corr

Re: Problem with ICMP rate limiting and redirects

2015-10-01 Thread Hugo Vasconcelos Saldanha
On Wed, Sep 30, 2015 at 5:48 PM, Eric Dumazet wrote: > On Wed, 2015-09-30 at 15:13 -0300, Hugo Vasconcelos Saldanha wrote: >> Hi Eric, >> >> On Wed, Sep 30, 2015 at 1:42 PM, Eric Dumazet wrote: >> > On Wed, 2015-09-30 at 13:10 -0300, Hugo Vasconcelos Saldanha wrote: >> >> Hi, >> >> >> >> While up

Re: linux-next: Tree for Oct 1 (ipvs)

2015-10-01 Thread Randy Dunlap
On 09/30/15 23:50, Stephen Rothwell wrote: > Hi all, > > Changes since 20150930: > on x86_64: ../net/netfilter/ipvs/ip_vs_core.c: In function 'ip_vs_leave': ../net/netfilter/ipvs/ip_vs_core.c:584:6: error: implicit declaration of function 'ip_vs_addr_is_unicast' [-Werror=implicit-function-decl

Re: [PATCH 02/23] usb-gadget: use per-attribute show and store methods

2015-10-01 Thread Felipe Balbi
Hi, On Mon, Sep 28, 2015 at 03:33:28PM +0200, Christoph Hellwig wrote: > The Subject line is part of the commit log. If you have a useful heh > suggestion for improving the logs please feel free to suggest it. how about explaining why you want per-attribute show/store methods ? -- balbi si

Re: [RFC PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-10-01 Thread Vivien Didelot
Hi Neil, On Oct. Thursday 01 (40) 05:06 PM, Neil Armstrong wrote: > On 09/30/2015 07:43 PM, Florian Fainelli wrote: > > On 30/09/15 01:21, Neil Armstrong wrote: > >> In order to cleanly unbind the dsa core, either as a module removal, > >> or a platform device unbind, switch the allocation the the

Re: GPF in do_raw_spin_lock on Linux 4.1

2015-10-01 Thread Cong Wang
On Wed, Sep 30, 2015 at 9:02 PM, Cong Wang wrote: > (Cc'ing Jamal) > > On Wed, Sep 30, 2015 at 5:49 PM, Vinson Lee wrote: >> Hi. >> >> We've hit this GPF on several different machines on Linux 4.1. >> >> general protection fault: [#1] SMP >> Modules linked in: sch_htb cls_basic act_mirred cl

Re: [PATCH RFC 3/7] netfilter: add NF_INET_LOCAL_SOCKET_IN chain type

2015-10-01 Thread Marcelo Ricardo Leitner
On Wed, Sep 30, 2015 at 09:24:21AM +0200, Daniel Mack wrote: > On 09/29/2015 11:19 PM, Florian Westphal wrote: > > Daniel Mack wrote: > >> Add a new chain type NF_INET_LOCAL_SOCKET_IN which is ran after the > >> input demux is complete and the final destination socket (if any) > >> has been determ

pull-request: wireless-drivers 2015-10-01

2015-10-01 Thread Kalle Valo
Hi Dave, few very small fixes I would like to get to 4.3, nothing really special. Please let me know if you have any problems. Kalle The following changes since commit bdb06cbf77cb01911694cc9076ffa8196b7b9b61: net: Fix panic in icmp_route_lookup (2015-09-25 21:44:02 -0700) are available in t

Re: [patch net-next v3 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-10-01 Thread Vivien Didelot
Hi Andrew, On Oct. Thursday 01 (40) 06:26 PM, Andrew Lunn wrote: > > DSA drivers don't need dynamic resources from the kernel. > > It is hard to say if that is going to remain true. I think when we > start doing more D in DSA, we might need to keep more state > information. Maybe, but we should

Re: [PATCH 0/5] y2038 conversion for ntp/pps and sfc driver

2015-10-01 Thread John Stultz
On Wed, Sep 30, 2015 at 12:27 AM, Thomas Gleixner wrote: > On Tue, 29 Sep 2015, David Miller wrote: >> From: Arnd Bergmann >> Date: Mon, 28 Sep 2015 22:21:27 +0200 >> >> > When trying to build a kernel with time_t commented out, I found that >> > the ntp subsystem still relies on timespec for its

[PATCH net-next 7/6] ipv6: Add missing newline to __xfrm6_output_finish

2015-10-01 Thread Eric W. Biederman
Add a newline between variable declarations and the code. Signed-off-by: "Eric W. Biederman" --- net/ipv6/xfrm6_output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c index 335066a64b45..4cefda009f53 100644 --- a/net/ipv6/xfrm6_output.c ++

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-10-01 Thread Tycho Andersen
On Wed, Sep 30, 2015 at 02:48:47PM -0700, Andy Lutomirski wrote: > On Wed, Sep 30, 2015 at 2:39 PM, Tycho Andersen > wrote: > > On Wed, Sep 30, 2015 at 11:56:25AM -0700, Andy Lutomirski wrote: > >> On Wed, Sep 30, 2015 at 11:55 AM, Tycho Andersen > >> wrote: > >> > On Wed, Sep 30, 2015 at 11:47:0

Re: [patch net-next v2 6/6] switchdev: push object ID back to object structure

2015-10-01 Thread Vivien Didelot
On Oct. Thursday 01 (40) 11:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Suggested-by: Scott Feldman > Signed-off-by: Jiri Pirko Reviewed-by: Vivien Didelot -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More major

Re: [patch net-next v2 2/6] switchdev: rename SWITCHDEV_ATTR_* enum values to SWITCHDEV_ATTR_ID_*

2015-10-01 Thread Vivien Didelot
On Oct. Thursday 01 (40) 11:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > To be aligned with obj. > > Signed-off-by: Jiri Pirko Reviewed-by: Vivien Didelot -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordo

Re: [patch net-next v2 5/6] switchdev: bring back switchdev_obj and use it as a generic object param

2015-10-01 Thread Vivien Didelot
On Oct. Thursday 01 (40) 11:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Replace "void *obj" with a generic structure. Introduce couple of > helpers along that. > > Signed-off-by: Jiri Pirko Reviewed-by: Vivien Didelot -- To unsubscribe from this list: send the line "unsubscribe netdev" in

[PATCH net-next v3 1/2] regmap: Allow installing custom reg_update_bits function

2015-10-01 Thread jon
From: Jon Ringle This commit allows installing a custom reg_update_bits function for cases where the hardware provides a mechanism to set or clear register bits without a read/modify/write cycle. Such is the case with the Microchip ENCX24J600. If a custom reg_update_bits function is provided, it

[PATCH net-next v3 2/2] net: Microchip encx24j600 driver

2015-10-01 Thread jon
From: Jon Ringle This ethernet driver supports the Micorchip enc424j600/626j600 Ethernet controller over a SPI bus interface. This driver makes use of the regmap API to optimize access to registers by caching registers where possible. Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/39

Re: [RFC PATCH 3/3] net: dsa: exit probe if no switch were found

2015-10-01 Thread Andrew Lunn
On Thu, Oct 01, 2015 at 05:27:32PM +0200, Neil Armstrong wrote: > On 09/30/2015 10:21 AM, Neil Armstrong wrote: > > If no switch were found in dsa_setup_dst, return -ENODEV and > > exit the dsa_probe cleanly. ... > Couldn't we use the probe defer mechanism here ? (until complete rework is > don

Re: [patch net-next v2 4/6] switchdev: rename switchdev_obj_fdb to switchdev_obj_port_fdb

2015-10-01 Thread Vivien Didelot
On Oct. Thursday 01 (40) 11:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Make the struct name in sync with object id name. > > Suggested-by: Vivien Didelot > Signed-off-by: Jiri Pirko Reviewed-by: Vivien Didelot -- To unsubscribe from this list: send the line "unsubscribe netdev" in the b

Re: [patch net-next v2 1/6] switchdev: rename SWITCHDEV_OBJ_* enum values to SWITCHDEV_OBJ_ID_*

2015-10-01 Thread Vivien Didelot
On Oct. Thursday 01 (40) 11:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Suggested-by: Vivien Didelot > Signed-off-by: Jiri Pirko Reviewed-by: Vivien Didelot -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majo

Re: [RFT v3] geneve: implement support for IPv6-based tunnels

2015-10-01 Thread Jesse Gross
On Wed, Sep 30, 2015 at 11:34 AM, John W. Linville wrote: > diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c > index 8f5c02eed47d..291d3d7754a8 100644 > --- a/drivers/net/geneve.c > +++ b/drivers/net/geneve.c > +#define GENEVE_F_IPV6 0x0001 I wasn't sure why we needed this fl

Re: [patch net-next v2 3/6] switchdev: rename switchdev_obj_vlan to switchdev_obj_port_vlan

2015-10-01 Thread Vivien Didelot
On Oct. Thursday 01 (40) 11:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Make the struct name in sync with object id name. > > Suggested-by: Vivien Didelot > Signed-off-by: Jiri Pirko Reviewed-by: Vivien Didelot -- To unsubscribe from this list: send the line "unsubscribe netdev" in the b

Re: [patch net-next v3 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-10-01 Thread Andrew Lunn
> DSA drivers don't need dynamic resources from the kernel. It is hard to say if that is going to remain true. I think when we start doing more D in DSA, we might need to keep more state information. What we need to avoid is making changes now that we later need to undo because we need dynamic re

RE: [PATCH v2 00/14] RDS: connection scalability and performance improvements

2015-10-01 Thread David Laight
From: Santosh Shilimkar > Sent: 30 September 2015 18:24 ... > This is being addressed by simply using per bucket rw lock which makes the > locking simple and very efficient. The hash table size is still an issue and > I plan to address it by using re-sizable hash tables as suggested on the list. I

Re: [patch net-next v3 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-10-01 Thread Vivien Didelot
Hi Andrew, On Oct. Thursday 01 (40) 05:28 PM, Andrew Lunn wrote: > > > Does this help? Maybe we should walk before running and focus on > > > getting non-batch ops working and then revisit? > > > > I agree. I understand the need for a prepare phase, but it looks like it > > exists for specific c

Re: [PATCH net-next 2/6] openvswitch: Pass net into ovs_fragment

2015-10-01 Thread Eric W. Biederman
Nicolas Dichtel writes: > Le 30/09/2015 23:25, Eric W. Biederman a écrit : >> In preparation for the ipv4 and ipv6 fragmentation code taking a net >> parameter pass a struct net into ovs_fragment where the v4 and v6 >> fragmentation code is called. >> >> Signed-off-by: "Eric W. Biederman" >> ---

Re: [patch net-next v2 6/6] switchdev: push object ID back to object structure

2015-10-01 Thread Scott Feldman
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Suggested-by: Scott Feldman > Signed-off-by: Jiri Pirko Acked-by: Scott Feldman -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo in

Re: [patch net-next v2 5/6] switchdev: bring back switchdev_obj and use it as a generic object param

2015-10-01 Thread Scott Feldman
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Replace "void *obj" with a generic structure. Introduce couple of > helpers along that. > > Signed-off-by: Jiri Pirko > --- > v1->v2: > * align object structure getter name with structure name as suggested by > Vivien > -

Re: [patch net-next v2 2/6] switchdev: rename SWITCHDEV_ATTR_* enum values to SWITCHDEV_ATTR_ID_*

2015-10-01 Thread Scott Feldman
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > To be aligned with obj. > > Signed-off-by: Jiri Pirko Acked-by: Scott Feldman -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [patch net-next v2 3/6] switchdev: rename switchdev_obj_vlan to switchdev_obj_port_vlan

2015-10-01 Thread Scott Feldman
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Make the struct name in sync with object id name. > > Suggested-by: Vivien Didelot > Signed-off-by: Jiri Pirko Acked-by: Scott Feldman -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a

Re: [patch net-next v2 4/6] switchdev: rename switchdev_obj_fdb to switchdev_obj_port_fdb

2015-10-01 Thread Scott Feldman
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Make the struct name in sync with object id name. > > Suggested-by: Vivien Didelot > Signed-off-by: Jiri Pirko Acked-by: Scott Feldman -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a

Re: [patch net-next v2 1/6] switchdev: rename SWITCHDEV_OBJ_* enum values to SWITCHDEV_OBJ_ID_*

2015-10-01 Thread Scott Feldman
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Suggested-by: Vivien Didelot > Signed-off-by: Jiri Pirko Acked-by: Scott Feldman -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo i

[PATCH net-next v2] net: Fix unused variable compile warning

2015-10-01 Thread David Ahern
Eric's net namespace changes in 1b75097dd7a26 leaves net unreferenced if CONFIG_IP_VS_IPV6 is not enabled: ../net/netfilter/ipvs/ip_vs_core.c: In function ‘ip_vs_out’: ../net/netfilter/ipvs/ip_vs_core.c:1177:14: warning: unused variable ‘net’ [-Wunused-variable] After the net refactoring there i

Re: [PATCH net-next] net: Fix unused variable compile warning

2015-10-01 Thread David Ahern
On 10/1/15 9:45 AM, David Ahern wrote: diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index facba7ed27de..858165f05040 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c @@ -1564,4 +1564,4 @@ void fib_select_path(struct net *net, struct fib_result *res,

[PATCH net-next] net: Fix unused variable compile warning

2015-10-01 Thread David Ahern
Eric's net namespace changes in 1b75097dd7a26 leaves net unreferenced if CONFIG_IP_VS_IPV6 is not enabled: ../net/netfilter/ipvs/ip_vs_core.c: In function ‘ip_vs_out’: ../net/netfilter/ipvs/ip_vs_core.c:1177:14: warning: unused variable ‘net’ [-Wunused-variable] After the net refactoring there i

Re: [RFT v3] geneve: implement support for IPv6-based tunnels

2015-10-01 Thread Jiri Benc
On Wed, 30 Sep 2015 14:34:05 -0400, John W. Linville wrote: > +#if IS_ENABLED(CONFIG_IPV6) > +static netdev_tx_t geneve6_xmit_skb(struct sk_buff *skb, struct net_device > *dev, > + struct ip_tunnel_info *info) > +{ > + struct geneve_dev *geneve = netdev_priv(dev

Re: [patch net-next v3 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-10-01 Thread Vivien Didelot
Hi, On Sep. Wednesday 30 (40) 09:27 PM, Scott Feldman wrote: > On Wed, Sep 30, 2015 at 11:56 AM, Vivien Didelot > wrote: > > Hi all, > > > > On Sep. Friday 25 (39) 11:03 AM, Vivien Didelot wrote: > >> On Sep. Thursday 24 (39) 10:55 PM, David Miller wrote: > >> > From: Scott Feldman > >> > Date:

[PATCH net-next 1/5] net: Rename FLOWI_FLAG_VRFSRC to FLOWI_FLAG_L3MDEV_SRC

2015-10-01 Thread David Ahern
Signed-off-by: David Ahern --- drivers/net/vrf.c | 4 ++-- include/net/flow.h | 2 +- include/net/route.h | 2 +- net/ipv4/udp.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index 64f2ab663ffe..f2f9c7091130 100644 --- a/drive

Re: [RFC PATCH 3/3] net: dsa: exit probe if no switch were found

2015-10-01 Thread Neil Armstrong
On 09/30/2015 10:21 AM, Neil Armstrong wrote: > If no switch were found in dsa_setup_dst, return -ENODEV and > exit the dsa_probe cleanly. > > Signed-off-by: Neil Armstrong > --- > net/dsa/dsa.c | 19 +++ > 1 file changed, 15 insertions(+), 4 deletions(-) > > diff --git a/net/ds

[PATCH net-next 2/5] net: Add netif_is_l3_slave

2015-10-01 Thread David Ahern
IPv6 addrconf keys off of IFF_SLAVE so can not use it for L3 slave. Add a new private flag and add netif_is_l3_slave function for checking it. Signed-off-by: David Ahern --- drivers/net/vrf.c | 8 +++- include/linux/netdevice.h | 7 +++ net/l3mdev/l3mdev.c | 8 3 f

  1   2   >