Re: [PATCH RFC 00/26] Phylink & SFP support

2015-12-14 Thread Dustin Byford
On Mon Dec 07 17:35, Russell King - ARM Linux wrote: > Hi, Hello. > SFP modules are hot-pluggable ethernet transceivers; they can be > detected at runtime and accordingly configured. There are a range of > modules offering many different features. > > Some SFP modules have PHYs conventional int

Re: [PATCH v5 net-next 4/4] ila: Add generic ILA translation facility

2015-12-14 Thread Florian Westphal
Tom Herbert wrote: > +static int ila_add_mapping(struct net *net, struct ila_xlat_params *p) > +{ > + struct ila_net *ilan = net_generic(net, ila_net_id); > + struct ila_map *ila, *head; > + spinlock_t *lock = ila_get_lock(ilan, p->identifier); > + int err = 0, order; > + > + i

Fwd: Query regarding Coverity tool

2015-12-14 Thread pavi1729
Hi, May I know if the community uses the Coverity tool and, if yes where can I find a repo of Coverity scans of kernels and IGNORE LIST; cause there obviously be false positives. Cheers, Pavi -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord.

[net-next 6/9] e1000e: Remove unreachable code

2015-12-14 Thread Jeff Kirsher
From: Benjamin Poirier msi-x interrupts are not shared so there's no need to check if the interrupt was really from this adapter. Signed-off-by: Benjamin Poirier Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/e1000e/netdev.c | 6 -- 1 file changed, 6 de

[net-next 9/9] e1000e: Fix msi-x interrupt automask

2015-12-14 Thread Jeff Kirsher
From: Benjamin Poirier Since the introduction of 82574 support in e1000e, the driver has worked on the assumption that msi-x interrupt generation is automatically disabled after each irq. As it turns out, this is not the case. Currently, rx interrupts can fire multiple times before and during nap

[net-next 4/9] igb: Improve cable length function for I210, etc.

2015-12-14 Thread Jeff Kirsher
From: Joe Schultz Previously, the PHY-specific code to get the cable length for the I210 internal and related PHYs was reporting the cable length of a single pair and reporting it as the min, max, and total cable length. Update it so that all four pairs are checked so the true min, max, and avera

[net-next 8/9] e1000e: Do not write lsc to ics in msi-x mode

2015-12-14 Thread Jeff Kirsher
From: Benjamin Poirier In msi-x mode, there is no handler for the lsc interrupt so there is no point in writing that to ics now that we always assume Other interrupts are caused by lsc. Reviewed-by: Jasna Hodzic Signed-off-by: Benjamin Poirier Tested-by: Aaron Brown Signed-off-by: Jeff Kirshe

[net-next 3/9] igb: Don't add PHY address to PCDL address

2015-12-14 Thread Jeff Kirsher
From: Aaron Sierra There is no reason to add the PHY address into the PCDL register address. Signed-off-by: Aaron Sierra Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/igb/e1000_phy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dri

[net-next 2/9] igb: Remove GS40G specific defines/functions

2015-12-14 Thread Jeff Kirsher
From: Aaron Sierra The I210 internal PHY can be accessed just as well with the access functions shared by 82580, I350, and I354 devices. A side effect of relying on the common functions, is that I210 cable length support is folded back into the common case which effectively reverts the following

[net-next 5/9] igb: Explicitly label self-test result indices

2015-12-14 Thread Jeff Kirsher
From: Joe Schultz Previously, the ethtool self-test gstrings/data arrays were accessed via hardcoded indices, which made the code difficult to follow. This patch replaces the hardcoded values with enum-based labels. Signed-off-by: Joe Schultz Signed-off-by: Aaron Sierra Tested-by: Aaron Brown

[net-next 1/9] e1000e: Switch e1000e_up to void, drop code checking for error result

2015-12-14 Thread Jeff Kirsher
From: Alexander Duyck The function e1000e_up always returns 0. As such we can convert it to a void and just ignore the results. This allows us to drop some code in a couple spots as we no longer need to worry about non-zero return values. Signed-off-by: Alexander Duyck Tested-by: Aaron Brown

[net-next 7/9] e1000e: Do not read ICR in Other interrupt

2015-12-14 Thread Jeff Kirsher
From: Benjamin Poirier Removes the ICR read in the other interrupt handler, uses EIAC to autoclear the Other bit from ICR and IMS. This allows us to avoid interference with Rx and Tx interrupts in the Other interrupt handler. The information read from ICR is not needed. IMS is configured such th

[net-next 0/9][pull request] 1GbE Intel Wired LAN Driver Updates 2015-12-14

2015-12-14 Thread Jeff Kirsher
This series contains updates to e1000e and igb. Alex Duyck changes e1000_up() to void since it always returned 0, also by making it void, we can drop some code since we no longer have to worry about non-zero return values. Aaron Sierra removes GS40G specific defines and functions since the i210 i

Re: [PATCH v2] net/macb: add support for resetting PHY using GPIO

2015-12-14 Thread Florian Fainelli
On December 14, 2015 2:56:34 PM PST, Rob Herring wrote: >On Fri, Dec 11, 2015 at 11:34:53AM +0100, Gregory CLEMENT wrote: >> With device tree it is no more possible to reset the PHY at board >> level. Furthermore, doing in the driver allow to power down the PHY >when >> the network interface is no

Re: [PATCH net] skbuff: Fix offset error in skb_reorder_vlan_header

2015-12-14 Thread David Miller
From: Vladislav Yasevich Date: Mon, 14 Dec 2015 17:44:10 -0500 > skb_reorder_vlan_header is called after the vlan header has > been pulled. As a result the offset of the begining of > the mac header has been incrased by 4 bytes (VLAN_HLEN). > When moving the mac addresses, include this incrase i

Re: [Patch net] pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

2015-12-14 Thread David Miller
From: Cong Wang Date: Mon, 14 Dec 2015 13:48:36 -0800 > Reported-by: Dmitry Vyukov > Signed-off-by: Cong Wang 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.kernel.org More majordomo inf

Re: [PATCH v6 0/4] stmmac: create of compatible mdio bus for stmacc driver

2015-12-14 Thread David Miller
From: Phil Reid Date: Mon, 14 Dec 2015 11:31:58 +0800 > Provide ability to specify a fixed phy in the device tree and > retain the mdio bus if no phy is found. This is needed where > a dsa is connected via a fixed phy and uses the mdio bus for config. > Fixed ptp ref clock calculatins for the st

Re: [PATCH net] ravb: Add disable 10base

2015-12-14 Thread David Miller
From: Yoshihiro Kaneko Date: Mon, 14 Dec 2015 00:15:58 +0900 > From: Kazuya Mizuguchi > > Ethernet AVB does not support 10 Mbps transfer speed. > > Signed-off-by: Kazuya Mizuguchi > Signed-off-by: Yoshihiro Kaneko Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev"

Re: [PATCH] sh_eth: fix TX buffer byte-swapping

2015-12-14 Thread David Miller
From: Sergei Shtylyov Date: Sun, 13 Dec 2015 21:27:04 +0300 > For the little-endian SH771x kernels the driver has to byte-swap the RX/TX > buffers, however yet unset physcial address from the TX descriptor is used > to call sh_eth_soft_swap(). Use 'skb->data' instead... > > Fixes: 31fcb99d9958

Re: [PATCH] sh_eth: fix descriptor access endianness

2015-12-14 Thread David Miller
From: Sergei Shtylyov Date: Sun, 13 Dec 2015 23:05:07 +0300 > The driver never calls cpu_to_edmac() when writing the descriptor address > and edmac_to_cpu() when reading it, although it should -- fix this. > > Note that the frame/buffer length descriptor field accesses also need fixing > but si

Re: [PATCH net] net: fix IP early demux races

2015-12-14 Thread David Miller
From: Eric Dumazet Date: Mon, 14 Dec 2015 14:08:53 -0800 > From: Eric Dumazet > > David Wilder reported crashes caused by dst reuse. > > > I am seeing a crash on a distro V4.2.3 kernel caused by a double > release of a dst_entry. In ipv4_dst_destroy() the call to > list_empty() finds

Re: [PATCH v5 net-next 4/4] ila: Add generic ILA translation facility

2015-12-14 Thread David Miller
From: Tom Herbert Date: Mon, 14 Dec 2015 15:56:48 -0800 > +static int alloc_ila_locks(struct ila_net *ilan, gfp_t gfp) gfp is always GFP_KERNEL, thus this flexibility is never necessary. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vg

[PATCH] 82xx: FCC: Fixing a bug causing to FCC port lock-up

2015-12-14 Thread Martin Roth
The patch fixes FCC port lock-up, which occurs as a result of a bug during underrun/collision handling. Within the tx_startup() function in mac-fcc.c, the address of last BD is not calculated correctly. As a result of wrong calculation of the last BD address, the next transmitted BD may be set to a

RE: [PATCH net-next] net, cgroup: cgroup_sk_updat_lock was missing initializer

2015-12-14 Thread Dexuan Cui
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, December 15, 2015 3:21 > To: t...@kernel.org > Cc: Dexuan Cui ; pa...@netfilter.org; ka...@trash.net; > kad...@blackhole.kfki.hu; dan...@iogearbox.net; daniel.wag...@bmw-carit.de; > nhor...@tuxdriver.com

Re: [PATCH] net: emac: emac gigabit ethernet controller driver

2015-12-14 Thread Florian Fainelli
On 14/12/15 16:19, Gilad Avidov wrote: [snip] > + "sgmii_irq"; > + qcom,emac-gpio-mdc = <&msmgpio 123 0>; > + qcom,emac-gpio-mdio = <&msmgpio 124 0>; > + qcom,emac-tstamp-en; > + qcom,emac-ptp-frac-ns-adj = <12500 1>; > +

WARN trace - skb_warn_bad_offload - vxlan - large udp packet - udp checksum disabled

2015-12-14 Thread Nelson, Shannon
Using a slightly modified version of udpspam (see diff below - hopefully not mangled by corporate email servers), where I set the SO_NO_CHECK socket option and can specify a large buffer size, I can reliably get the following WARN trace. I have reproduced this on both ixgbe and i40e drivers usi

[PATCH] gianfar: Don't enable RX Filer if not supported

2015-12-14 Thread Hamish Martin
After commit 15bf176db1fb ("gianfar: Don't enable the Filer w/o the Parser"), 'TSEC' model controllers (for example as seen on MPC8541E) always have 8 bytes stripped from the front of received frames. Only 'eTSEC' gianfar controllers have the RX Filer capability (amongst other enhancements). Previo

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

2015-12-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/geneve.c between commit: a322a1bcf329 ("geneve: Fix IPv6 xmit stats update.") from the net tree and commit: abe492b4f50c ("geneve: UDP checksum configuration via netlink") from the net-next tree. I fi

[PATCH v5 net-next 0/4] ila: Optimization to preserve value of early demux

2015-12-14 Thread Tom Herbert
In the current implementation of ILA, LWT is used to perform translation on both the input and output paths. This is functional, however there is a big performance hit in the receive path. Early demux occurs before the routing lookup (a hit actually obviates the route lookup). Therefore the stack c

[PATCH v5 net-next 4/4] ila: Add generic ILA translation facility

2015-12-14 Thread Tom Herbert
This patch implements an ILA tanslation table. This table can be configured with identifier to locator mappings, and can be be queried to resolve a mapping. Queries can be parameterized based on interface, direction (incoming or outoing), and matching locator. The table is implemented using rhasht

[PATCH v5 net-next 1/4] ila: Create net/ipv6/ila directory

2015-12-14 Thread Tom Herbert
Create ila directory in preparation for supporting other hooks in the kernel than LWT for doing ILA. This includes: - Moving ila.c to ila/ila_lwt.c - Splitting out some common functions into ila_common.c Signed-off-by: Tom Herbert --- net/ipv6/Makefile | 2 +- net/ipv6/ila.c

[PATCH v5 net-next 2/4] rhashtable: add function to replace an element

2015-12-14 Thread Tom Herbert
Add the rhashtable_replace_fast function. This replaces one object in the table with another atomically. The hashes of the new and old objects must be equal. Signed-off-by: Tom Herbert --- include/linux/rhashtable.h | 82 ++ 1 file changed, 82 insertio

[PATCH v5 net-next 3/4] netlink: add a start callback for starting a netlink dump

2015-12-14 Thread Tom Herbert
The start callback allows the caller to set up a context for the dump callbacks. Presumably, the context can then be destroyed in the done callback. Signed-off-by: Tom Herbert --- include/linux/netlink.h | 2 ++ include/net/genetlink.h | 2 ++ net/netlink/af_netlink.c | 4 net/netlink/

Re: [PATCH net] pptp: validate sockaddr_len before binding

2015-12-14 Thread Hannes Frederic Sowa
On 14.12.2015 23:58, Cong Wang wrote: > On Mon, Dec 14, 2015 at 2:45 PM, Hannes Frederic Sowa > wrote: >> diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c >> index fc69e41d09506e..f9ffdf070ad807 100644 >> --- a/drivers/net/ppp/pptp.c >> +++ b/drivers/net/ppp/pptp.c >> @@ -419,6 +419,9

Re: [PATCH net] pptp: validate sockaddr_len before binding

2015-12-14 Thread Cong Wang
On Mon, Dec 14, 2015 at 2:45 PM, Hannes Frederic Sowa wrote: > diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c > index fc69e41d09506e..f9ffdf070ad807 100644 > --- a/drivers/net/ppp/pptp.c > +++ b/drivers/net/ppp/pptp.c > @@ -419,6 +419,9 @@ static int pptp_bind(struct socket *sock, st

Re: [PATCH v2] net/macb: add support for resetting PHY using GPIO

2015-12-14 Thread Rob Herring
On Fri, Dec 11, 2015 at 11:34:53AM +0100, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level. Furthermore, doing in the driver allow to power down the PHY when > the network interface is no more used. > > This reset can't be done at the PHY driver le

[PATCH net] skbuff: Fix offset error in skb_reorder_vlan_header

2015-12-14 Thread Vladislav Yasevich
skb_reorder_vlan_header is called after the vlan header has been pulled. As a result the offset of the begining of the mac header has been incrased by 4 bytes (VLAN_HLEN). When moving the mac addresses, include this incrase in the offset calcualation so that the mac addresses are copied correctly.

[PATCH net] pptp: validate sockaddr_len before binding

2015-12-14 Thread Hannes Frederic Sowa
Reported-by: Dmitry Vyukov Signed-off-by: Hannes Frederic Sowa --- drivers/net/ppp/pptp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c index fc69e41d09506e..f9ffdf070ad807 100644 --- a/drivers/net/ppp/pptp.c +++ b/drivers/net/ppp/pptp.c @

Re: Information leak in pptp_bind

2015-12-14 Thread Hannes Frederic Sowa
On 14.12.2015 11:38, Dmitry Vyukov wrote: > The following program leak various uninit garbage including kernel > addresses and whatever is on kernel stack, in particular defeating > ASLR. The issue is in pptp_bind which does not verify sockaddr_len. Thanks for the report! I send out a patch soon.

[PATCH net] net: fix warnings in 'make htmldocs' by moving macro definition out of field declaration

2015-12-14 Thread Hannes Frederic Sowa
Docbook does not like the definition of macros inside a field declaration and adds a warning. Move the definition out. Fixes: 79462ad02e86180 ("net: add validation for the socket syscall protocol argument") Reported-by: kbuild test robot Signed-off-by: Hannes Frederic Sowa --- include/net/sock

[PATCH net] net: fix IP early demux races

2015-12-14 Thread Eric Dumazet
From: Eric Dumazet David Wilder reported crashes caused by dst reuse. I am seeing a crash on a distro V4.2.3 kernel caused by a double release of a dst_entry. In ipv4_dst_destroy() the call to list_empty() finds a poisoned next pointer, indicating the dst_entry has already been rem

[Patch net] pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

2015-12-14 Thread Cong Wang
Reported-by: Dmitry Vyukov Signed-off-by: Cong Wang --- drivers/net/ppp/pptp.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c index fc69e41..597c53e 100644 --- a/drivers/net/ppp/pptp.c +++ b/drivers/net/ppp/pptp.c @@ -419,6 +419,9 @@ sta

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

2015-12-14 Thread Bjørn Mork
Hannes Frederic Sowa writes: > Sorry for answering so late... No problem. There is no rush here AFAICS. Thanks for taking the time to look at this. > What do you think about simply using IN6_ADDR_GEN_MODE_RANDOM? Yes, that's fine with me (actually what I first used :) >> I guess we should c

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

2015-12-14 Thread Hannes Frederic Sowa
Hello, On 08.12.2015 19:57, Bjørn Mork wrote: > Hannes Frederic Sowa writes: >> On 05.12.2015 20:02, Bjørn Mork wrote: >>> 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 >

Re: [PATCH] sh_eth: uninline sh_eth_{write|read}()

2015-12-14 Thread David Miller
From: Sergei Shtylyov Date: Sun, 13 Dec 2015 01:44:50 +0300 > Commit 3365711df024 ("sh_eth: WARN on access to a register not implemented in > in a particular chip") added WARN_ON() to sh_eth_{read|write}(), thus making > it unacceptable for these functions to be *inline* anymore. Remove *inline

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

2015-12-14 Thread David Miller
From: Sergei Shtylyov Date: Sat, 12 Dec 2015 18:17:45 +0300 > Hello. > > On 12/6/2015 1:46 AM, David Miller wrote: > >>> In a low memory situation the following kernel oops occurs: >>> >>> Unable to handle kernel NULL pointer dereference at virtual address >>> 0050 >>> pgd = 8490c000 >>> [0

Re: pull request: bluetooth-next 2015-12-11

2015-12-14 Thread David Miller
From: Johan Hedberg Date: Fri, 11 Dec 2015 22:20:59 +0200 > (resending since I forgot to sign the previous one) > > Here's another set of Bluetooth & 802.15.4 patches for the 4.5 kernel: > > - 6LoWPAN debugfs support > - New 802.15.4 driver for ADF7242 MAC IEEE802154 > - Initial code for 6Lo

Re: [PATCH] wan: wanxl: add pci_disable_device in case of error

2015-12-14 Thread David Miller
From: Saurabh Sengar Date: Sat, 12 Dec 2015 00:58:19 +0530 > If there is 'no suitable DMA available' error, device should be disabled > before returning > > Signed-off-by: Saurabh Sengar Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the bo

Re: [PATCH net-next 0/2] Minor PPP devices improvements

2015-12-14 Thread David Miller
From: Guillaume Nault Date: Fri, 11 Dec 2015 19:54:47 +0100 > Let PPP devices be friendlier to user space by registering their device > type and reporting their interface naming scheme. Series applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a

Re: [PATCH net-next v4 0/4] ila: Optimization to preserve value of early demux

2015-12-14 Thread David Miller
From: Tom Herbert Date: Thu, 10 Dec 2015 16:19:29 -0800 > In the current implementation of ILA, LWT is used to perform > translation on both the input and output paths. This is functional, > however there is a big performance hit in the receive path. Early > demux occurs before the routing lookup

Re: [PATCH net-next 0/8] s390 network patches

2015-12-14 Thread David Miller
From: Ursula Braun Date: Fri, 11 Dec 2015 12:27:49 +0100 > here are some s390 related patches for net-next. Most important is > the skb_linearize af_iucv patch from Eugene solving traffic problems > in certain scenarios. The remaining patches are minor improvements. Series applied to net-next, t

Re: [PATCH v6 4/4] stmmac: socfpga: Provide dt node to config ptp clk source.

2015-12-14 Thread Dinh Nguyen
On Sun, Dec 13, 2015 at 9:32 PM, Phil Reid wrote: > Provides an options to use the ptp clock routed from the Altera FPGA > fabric. Instead of the defalt eosc1 clock connected to the ARM HPS core. > This setting affects all emacs in the core as the ptp clock is common. > > Acked-by: Rob Herring >

[PATCH net-next v5 18/19] net: mlx4: convenience predicate for debug messages

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h index 35de7d2..b04054d 100644

Re: [PATCH net] netlink: fix boolean evaluation on bound

2015-12-14 Thread Hannes Frederic Sowa
On 14.12.2015 18:50, Eric Dumazet wrote: > On Mon, 2015-12-14 at 18:27 +0100, Hannes Frederic Sowa wrote: > >> Otherwise I would recommend adding a "!!" to express that we actually >> want bound set based on the portid value? > > Note that compiler already does the !! thing, when you store an int

[PATCH net-next v5 05/19] net: ethtool: add new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-14 Thread David Decotigny
From: David Decotigny This patch defines a new ETHTOOL_GSETTINGS/SSETTINGS API, handled by the new get_ksettings/set_ksettings callbacks. This API provides support for most legacy ethtool_cmd fields, adds support for larger link mode masks (up to 4064 bits, variable length), and removes ethtool_c

Re: [PATCH net v2] net: add validation for the socket syscall protocol argument

2015-12-14 Thread David Miller
From: Hannes Frederic Sowa Date: Mon, 14 Dec 2015 22:03:39 +0100 > 郭永刚 reported that one could simply crash the kernel as root by > using a simple program: > > int socket_fd; > struct sockaddr_in addr; > addr.sin_port = 0; > addr.sin_addr.s_addr = INADDR_ANY; > addr

[PATCH net-next v5 02/19] test_bitmap: unit tests for lib/bitmap.c

2015-12-14 Thread David Decotigny
From: David Decotigny This is mainly testing bitmap construction and conversion to/from u32[] for now. Tested: qemu i386, x86_64, ppc, ppc64 BE and LE, ARM. Signed-off-by: David Decotigny --- lib/Kconfig.debug | 8 + lib/Makefile | 1 + lib/t

[PATCH net-next v5 01/19] lib/bitmap.c: conversion routines to/from u32 array

2015-12-14 Thread David Decotigny
From: David Decotigny Aimed at transferring bitmaps to/from user-space in a 32/64-bit agnostic way. Tested: unit tests (next patch) on qemu i386, x86_64, ppc, ppc64 BE and LE, ARM. Signed-off-by: David Decotigny --- include/linux/bitmap.h | 6 lib/bitmap.c | 86 +++

[PATCH net-next v5 03/19] net: usnic: remove unused call to ethtool_ops::get_settings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index f8e3211..5b60579 100644 --- a/drivers/inf

Re: [PATCH net-next] ipv6: addrconf: drop ieee802154 specific things

2015-12-14 Thread David Miller
From: Alexander Aring Date: Mon, 14 Dec 2015 20:55:22 +0100 > This patch removes ARPHRD_IEEE802154 from addrconf handling. In the > earlier days of 802.15.4 6LoWPAN, the interface type was ARPHRD_IEEE802154 > which introduced several issues, because 802.15.4 interfaces used the > same type. > >

Re: [PATCH net] stmmac: dwmac-sunxi: Call exit cleanup function in probe error path

2015-12-14 Thread David Miller
From: Chen-Yu Tsai Date: Fri, 11 Dec 2015 18:03:49 +0800 > dwmac-sunxi has 2 callbacks that were called from stmmac_platform as > part of the probe and remove sequences. > > Ater the conversion of dwmac-sunxi into a standalone platform driver, > the .init function is called before calling into t

[PATCH net-next v5 07/19] net: usnic: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index e082170..e0d12d4 1

[PATCH net-next v5 06/19] tx4939: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- arch/mips/txx9/generic/setup_tx4939.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/mips/txx9/generic/setup_tx4939.c b/arch/mips/txx9/generic/setup_tx4939.c index e3733cd..4a3ebf6 100644 --- a/arch/mips/

[PATCH net-next v5 09/19] net: ipvlan: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ipvlan/ipvlan_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c index a9268db..63b3aa5 100644 --- a/drivers/net/ipvlan/ipvlan

[PATCH net-next v5 04/19] net: usnic: use __ethtool_get_settings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index 5b60579..e082170 100644 --

[PATCH net-next v5 10/19] net: macvlan: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/macvlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 06c8bfe..a95b793 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -940,

[PATCH net-next v5 15/19] net: bridge: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/bridge/br_if.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index 8d1d4a2..d1022fd 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -36,10 +36,10 @@ */

[PATCH net-next v5 11/19] net: team: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/team/team.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 059c0f6..7cc98a7 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.

[PATCH net-next v5 08/19] net: bonding: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/bonding/bond_main.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index fe0e7a6..ce8c026 100644 --- a/drivers/net/bonding/b

[PATCH net-next v5 16/19] net: core: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/core/net-sysfs.c | 15 +-- net/packet/af_packet.c | 11 +-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index f88a62a..3dd4bb1 100644 --- a/net/cor

[PATCH net-next v5 13/19] net: rdma: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- include/rdma/ib_addr.h | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h index 1152859..1820f26 100644 --- a/include/rdma/ib_addr.h +++ b/include/rdma/ib_add

[PATCH net-next v5 14/19] net: 8021q: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/8021q/vlan_dev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index fded865..e607fee 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -620,12 +6

[PATCH net-next v5 17/19] net: ethtool: remove unused __ethtool_get_settings

2015-12-14 Thread David Decotigny
From: David Decotigny replaced by __ethtool_get_ksettings. Signed-off-by: David Decotigny --- include/linux/ethtool.h | 4 net/core/ethtool.c | 45 ++--- 2 files changed, 14 insertions(+), 35 deletions(-) diff --git a/include/linux/ethtool.h

[PATCH net-next v5 19/19] net: mlx4: use new ETHTOOL_G/SSETTINGS API

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 344 drivers/net/ethernet/mellanox/mlx4/en_main.c| 1 + drivers/net/ethernet/mellanox/mlx4/mlx4_en.h| 1 + 3 files changed, 177 insertions(+), 169 dele

[PATCH net v2] net: add validation for the socket syscall protocol argument

2015-12-14 Thread Hannes Frederic Sowa
郭永刚 reported that one could simply crash the kernel as root by using a simple program: int socket_fd; struct sockaddr_in addr; addr.sin_port = 0; addr.sin_addr.s_addr = INADDR_ANY; addr.sin_family = 10; socket_fd = socket(10,3,0x4000); c

[PATCH net-next v5 12/19] net: fcoe: use __ethtool_get_ksettings

2015-12-14 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/scsi/fcoe/fcoe_transport.c | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c index d7597c0..2d5909f

[PATCH net-next v5 00/19] new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-14 Thread David Decotigny
From: David Decotigny History: v5 note: please see v4 bullets for a question regarding bitmap.c - minor fix to make allyesconfig/allmodconfig v4 - removed typedef for link mode bitmaps - moved bitmap<->u32[] conversion routines to bitmap.c . This is the naive implementation. I have an e

RE: Season Greetings

2015-12-14 Thread Edpsych
From: Edpsych Sent: 14 December 2015 19:21 To: Edpsych Subject: Season Greetings You Have Been Picked , Email:(mr_sgloria_macken...@email.com) For More Info

Re: [PATCH net-next 6/8] tcp: Fix conditions to determine checksum offload

2015-12-14 Thread Tom Herbert
On Mon, Dec 14, 2015 at 11:39 AM, Eric Dumazet wrote: > On Mon, 2015-12-14 at 11:19 -0800, Tom Herbert wrote: >> In tcp_send_sendpage and tcp_sendmsg we check the route capabilities to >> determine if checksum offload can be performed. This check currently >> does not take the IP protocol into acc

[ANNOUNCE] Another round of NetDev 1.1 updates

2015-12-14 Thread Pablo Neira Ayuso
Hi! We would like to share with you another round of incremental updates on accepted sessions in netdev 1.1, the community-driven Linux networking conference held back-to-back with netconf in Sevilla, Spain, February 10-12, 2016. = Keynote = * "Hardware Checksumming: Less is More" (David S. Mill

[PATCH v5 5/5] i40e: Call geneve_get_rx_port to get the existing Geneve ports

2015-12-14 Thread Anjali Singhai Jain
This patch adds a call to geneve_get_rx_port in i40e so that when it comes up it can learn about the existing geneve tunnels. Signed-off-by: Anjali Singhai Jain --- drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/intel/i40e/

[PATCH v5 2/5] i40e: geneve tunnel offload support

2015-12-14 Thread Anjali Singhai Jain
This patch adds driver hooks to implement ndo_ops to add/del udp port in the HW to identify GENEVE tunnels. Signed-off-by: Anjali Singhai Jain Signed-off-by: Kiran Patil --- drivers/net/ethernet/intel/i40e/i40e.h | 16 +-- drivers/net/ethernet/intel/i40e/i40e_main.c | 167

[PATCH v5 1/5] geneve: Add geneve udp port offload for ethernet devices

2015-12-14 Thread Anjali Singhai Jain
Add ndo_ops to add/del UDP ports to a device that supports geneve offload. v2: Comment fix. Signed-off-by: Anjali Singhai Jain Signed-off-by: Kiran Patil --- drivers/net/geneve.c | 23 +++ include/linux/netdevice.h | 20 +++- 2 files changed, 42 inserti

[PATCH v5 3/5] i40e: Kernel dependency update for i40e to support geneve offload

2015-12-14 Thread Anjali Singhai Jain
Update the Kconfig file with dependency for supporting GENEVE tunnel offloads. Signed-off-by: Anjali Singhai Jain Signed-off-by: Kiran Patil --- drivers/net/ethernet/intel/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/e

[PATCH v5 0/5] Add support for Geneve udp port offload

2015-12-14 Thread Anjali Singhai Jain
This patch series adds new ndo ops for Geneve add/del port, so as to help offload Geneve tunnel functionalities such as RX checksum, RSS, filters etc. i40e driver has been tested with the changes to make sure the offloads happen. We do understand that this is not the ideal solution and most likel

[PATCH v5 4/5] geneve: Add geneve_get_rx_port support

2015-12-14 Thread Anjali Singhai Jain
This patch adds an op that the drivers can call into to get existing geneve ports. Signed-off-by: Anjali Singhai Jain --- drivers/net/geneve.c | 24 include/net/geneve.h | 8 2 files changed, 32 insertions(+) diff --git a/drivers/net/geneve.c b/drivers/net/gen

re: [PATCH] chelsio: add support for other 10G boards

2015-12-14 Thread Dan Carpenter
Hello Stephen Hemminger, The patch f1d3d38af757: "[PATCH] chelsio: add support for other 10G boards" from Dec 1, 2006, leads to the following static checker warning: drivers/net/ethernet/chelsio/cxgb/subr.c:630 t1_link_start() warn: was shift intended here '(mac->adapter->params.n

[PATCH net-next] ipv6: addrconf: drop ieee802154 specific things

2015-12-14 Thread Alexander Aring
This patch removes ARPHRD_IEEE802154 from addrconf handling. In the earlier days of 802.15.4 6LoWPAN, the interface type was ARPHRD_IEEE802154 which introduced several issues, because 802.15.4 interfaces used the same type. Since commit 965e613d299c ("ieee802154: 6lowpan: fix ARPHRD to ARPHRD_6LOW

Re: [PATCH v4 1/5] geneve: Add geneve udp port offload for ethernet devices

2015-12-14 Thread Singhai, Anjali
Resending the series with a cover-letter that got missed. Thanks Anjali On 12/14/2015 11:57 AM, Anjali Singhai Jain wrote: Add ndo_ops to add/del UDP ports to a device that supports geneve offload. v2: Comment fix. Signed-off-by: Anjali Singhai Jain Signed-off-by: Kiran Patil --- drivers

[PATCH v4 5/5] i40e: Call geneve_get_rx_port to get the existing Geneve ports

2015-12-14 Thread Anjali Singhai Jain
This patch adds a call to geneve_get_rx_port in i40e so that when it comes up it can learn about the existing geneve tunnels. Signed-off-by: Anjali Singhai Jain --- drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/intel/i40e/

[PATCH v4 3/5] i40e: Kernel dependency update for i40e to support geneve offload

2015-12-14 Thread Anjali Singhai Jain
Update the Kconfig file with dependency for supporting GENEVE tunnel offloads. Signed-off-by: Anjali Singhai Jain Signed-off-by: Kiran Patil --- drivers/net/ethernet/intel/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/e

[PATCH v4 2/5] i40e: geneve tunnel offload support

2015-12-14 Thread Anjali Singhai Jain
This patch adds driver hooks to implement ndo_ops to add/del udp port in the HW to identify GENEVE tunnels. Signed-off-by: Anjali Singhai Jain Signed-off-by: Kiran Patil --- drivers/net/ethernet/intel/i40e/i40e.h | 16 +-- drivers/net/ethernet/intel/i40e/i40e_main.c | 167

[PATCH v4 4/5] geneve: Add geneve_get_rx_port support

2015-12-14 Thread Anjali Singhai Jain
This patch adds an op that the drivers can call into to get existing geneve ports. Signed-off-by: Anjali Singhai Jain --- drivers/net/geneve.c | 24 include/net/geneve.h | 8 2 files changed, 32 insertions(+) diff --git a/drivers/net/geneve.c b/drivers/net/gen

[PATCH v4 0/5] Add support for Geneve udp port offload

2015-12-14 Thread Anjali Singhai Jain
This patch series adds new ndo ops for Geneve add/del port, so as to help offload Geneve tunnel functionalities such as RX checksum, RSS, filters etc. i40e driver has been tested with the changes to make sure the offloads happen. We do understand that this is not the ideal solution and most likel

[PATCH v4 1/5] geneve: Add geneve udp port offload for ethernet devices

2015-12-14 Thread Anjali Singhai Jain
Add ndo_ops to add/del UDP ports to a device that supports geneve offload. v2: Comment fix. Signed-off-by: Anjali Singhai Jain Signed-off-by: Kiran Patil --- drivers/net/geneve.c | 23 +++ include/linux/netdevice.h | 20 +++- 2 files changed, 42 inserti

Re: [PATCH net-next 6/8] tcp: Fix conditions to determine checksum offload

2015-12-14 Thread Eric Dumazet
On Mon, 2015-12-14 at 11:19 -0800, Tom Herbert wrote: > In tcp_send_sendpage and tcp_sendmsg we check the route capabilities to > determine if checksum offload can be performed. This check currently > does not take the IP protocol into account for devices that advertise > only one of NETIF_F_IPV6_C

Re: [PATCH 8/8] netfilter: implement xt_cgroup cgroup2 path match

2015-12-14 Thread Pablo Neira Ayuso
On Mon, Dec 07, 2015 at 05:38:55PM -0500, Tejun Heo wrote: > This patch implements xt_cgroup path match which matches cgroup2 > membership of the associated socket. The match is recursive and > invertible. Applied, thanks. I shared the same concerns as Florian regarding the large size of the pat

Re: [PATCH v5 4/4] net: diag: Support destroying TCP sockets.

2015-12-14 Thread David Miller
From: Lorenzo Colitti Date: Tue, 15 Dec 2015 02:29:57 +0900 > +#if CONFIG_INET_DIAG_DESTROY Config symbols are to be checked with "ifdef" not "if". > +config INET_DIAG_DESTROY > + bool "INET: allow privileged process to administratively close sockets" > + depends on INET_DIAG && (IPV6 |

Re: [PATCHv2 net-next] ipv6: allow routes to be configured with expire values

2015-12-14 Thread David Miller
From: Hannes Frederic Sowa Date: Mon, 14 Dec 2015 18:16:59 +0100 > We can easily switch to new attributes. Should we introduce a new > interface for this? Yes. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordom

Re: [PATCH 7/8] netfilter: prepare xt_cgroup for multi revisions

2015-12-14 Thread Pablo Neira Ayuso
On Mon, Dec 07, 2015 at 05:38:54PM -0500, Tejun Heo wrote: > xt_cgroup will grow cgroup2 path based match. Postfix existing > symbols with _v0 and prepare for multi revision registration. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a messag

  1   2   >