RE: [PATCH] net: intel: e1000: use new api ethtool_{get|set}_link_ksettings

2017-02-24 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Philippe Reynes > Sent: Saturday, January 21, 2017 7:06 AM > To: Kirsher, Jeffrey T ; da...@davemloft.net > Cc: intel-wired-...@lists.osuosl.org; netdev@vger.kernel.org; linux- >

Re: [PATCH RFC v2 00/12] socket sendmsg MSG_ZEROCOPY

2017-02-24 Thread Willem de Bruijn
On Fri, Feb 24, 2017 at 6:03 PM, Alexei Starovoitov wrote: > On Wed, Feb 22, 2017 at 11:38:49AM -0500, Willem de Bruijn wrote: >> >> * Limitations / Known Issues >> >> - PF_INET6 is not yet supported. > > we struggled so far to make it work in our setups which are

Re: [PATCH] iproute2: tc: introduce build dependency on libnetlink

2017-02-24 Thread Stephen Hemminger
On Fri, 24 Feb 2017 18:28:54 +0100 (CET) Jiri Kosina wrote: > From: Jiri Kosina > > Rebuilding libnetlink doesn't trigger rebuild of tc, which is wrong > (especially so for builds where libnetlink.a gets statically linked into > tc). Fix that by introducing

Re: [PATCH RFC v2 00/12] socket sendmsg MSG_ZEROCOPY

2017-02-24 Thread Alexei Starovoitov
On Wed, Feb 22, 2017 at 11:38:49AM -0500, Willem de Bruijn wrote: > > * Limitations / Known Issues > > - PF_INET6 is not yet supported. we struggled so far to make it work in our setups which are ipv6 only. Looking at patches it seems the code should just work. What particularly is missing ?

Re: [PATCH] bridge: Add support for IEEE 802.11 Proxy ARP for IPv6

2017-02-24 Thread kbuild test robot
Hi Jouni, [auto build test ERROR on net-next/master] [also build test ERROR on next-20170224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jouni-Malinen/bridge-Add-support-for-IEEE-802-11

[PATCH net 1/1] net sched actions: do not overwrite status of action creation.

2017-02-24 Thread Roman Mashak
nla_memdup_cookie was overwriting err value, declared at function scope and earlier initialized with result of ->init(). At success nla_memdup_cookie() returns 0, and thus module refcnt decremented, although the action was installed. $ sudo tc actions add action pass index 1 cookie 1234 $ sudo tc

[4.10+] sctp lockdep trace

2017-02-24 Thread Dave Jones
[ 244.251557] === [ 244.263321] [ ERR: suspicious RCU usage. ] [ 244.274982] 4.10.0-think+ #7 Not tainted [ 244.286511] --- [ 244.298008] ./include/linux/rhashtable.h:602 suspicious rcu_dereference_check() usage! [ 244.309665]

Re: [PATCH net 1/1] net sched actions: decrement module reference count after table flush.

2017-02-24 Thread Roman Mashak
Cong Wang writes: > On Fri, Feb 24, 2017 at 8:00 AM, Roman Mashak wrote: >> When tc actions are loaded as a module and no actions have been installed, >> flushing them would result in actions removed from the memory, but modules >> reference count

[PATCH net] rxrpc: Kernel calls get stuck in recvmsg

2017-02-24 Thread David Howells
Calls made through the in-kernel interface can end up getting stuck because of a missed variable update in a loop in rxrpc_recvmsg_data(). The problem is like this: (1) A new packet comes in and doesn't cause a notification to be given to the client as there's still another packet in the

Re: [PATCH] drivers: net: xgene: Simplify xgene_enet_setup_mss() to kill warning

2017-02-24 Thread Iyappan Subramanian
On Fri, Feb 24, 2017 at 2:30 AM, Geert Uytterhoeven wrote: > With gcc-4.1.2 and -Os: > > drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function > ‘xgene_enet_start_xmit’: > drivers/net/ethernet/apm/xgene/xgene_enet_main.c:297: warning: > ‘mss_index’ may be

Re: [PATCH] bridge: Add support for IEEE 802.11 Proxy ARP for IPv6

2017-02-24 Thread Stephen Hemminger
The concept is fine. Please add some comments to the code about what is happening and why. The proposed patch is too sparse and has no comments. > + skb = alloc_skb(hlen + sizeof(struct ipv6hdr) + sizeof(*msg) + > + ndisc_opt_addr_space(dev, > +

[PATCH net 0/2] VXLAN/geneve RCU fixes

2017-02-24 Thread Jakub Kicinski
Hi! VXLAN and GENEVE need to take RCU lock explicitly because TX path only has the _bh() flavour of RCU locked. Making the reconfiguration path wait for both normal and _bh() RCU would be bigger hassle so just acquire the lock, as suggested by Pravin:

[PATCH net 1/2] vxlan: lock RCU on TX path

2017-02-24 Thread Jakub Kicinski
There is no guarantees that callers of the TX path will hold the RCU lock. Grab it explicitly. Fixes: c6fcc4fc5f8b ("vxlan: avoid using stale vxlan socket.") Signed-off-by: Jakub Kicinski --- drivers/net/vxlan.c | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH net 2/2] geneve: lock RCU on TX path

2017-02-24 Thread Jakub Kicinski
There is no guarantees that callers of the TX path will hold the RCU lock. Grab it explicitly. Fixes: fceb9c3e3825 ("geneve: avoid using stale geneve socket.") Signed-off-by: Jakub Kicinski --- drivers/net/geneve.c | 2 ++ 1 file changed, 2 insertions(+) diff

Re: VXLAN RCU error

2017-02-24 Thread Jakub Kicinski
On Fri, 24 Feb 2017 11:30:05 -0800, Cong Wang wrote: > On Thu, Feb 23, 2017 at 12:20 AM, Jakub Kicinski wrote: > > > > Ugh. Looks like this may not work even if it makes the splat go away. > > synchronize_net() doesn't seem to wait for the _bh() flavor of RCU, so > > we need to

Re: VXLAN RCU error

2017-02-24 Thread Cong Wang
On Thu, Feb 23, 2017 at 12:20 AM, Jakub Kicinski wrote: > > Ugh. Looks like this may not work even if it makes the splat go away. > synchronize_net() doesn't seem to wait for the _bh() flavor of RCU, so > we need to add syncronize_rcu_bh() call before freeing the socket or do > a

Re: [PATCH] drivers: net: xgene: Simplify xgene_enet_setup_mss() to kill warning

2017-02-24 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 24 Feb 2017 11:30:03 +0100 > With gcc-4.1.2 and -Os: > > drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function > ‘xgene_enet_start_xmit’: > drivers/net/ethernet/apm/xgene/xgene_enet_main.c:297: warning: > ‘mss_index’

Re: [PATCH 1/1] rds: fix memory leak error

2017-02-24 Thread David Miller
From: Santosh Shilimkar Date: Fri, 24 Feb 2017 08:49:19 -0800 > On 2/24/2017 1:28 AM, Zhu Yanjun wrote: >> When the function register_netdevice_notifier fails, the memory >> allocated by kmem_cache_create should be freed by the function >> kmem_cache_destroy. >> >>

Re: [PATCH 1/1] rds: fix memory leak error

2017-02-24 Thread santosh.shilim...@oracle.com
On 2/24/17 11:12 AM, David Miller wrote: From: Santosh Shilimkar Date: Fri, 24 Feb 2017 08:49:19 -0800 On 2/24/2017 1:28 AM, Zhu Yanjun wrote: When the function register_netdevice_notifier fails, the memory allocated by kmem_cache_create should be freed by the

Re: [PATCH 1/1] rds: fix memory leak error

2017-02-24 Thread David Miller
From: Zhu Yanjun Date: Fri, 24 Feb 2017 04:28:01 -0500 > When the function register_netdevice_notifier fails, the memory > allocated by kmem_cache_create should be freed by the function > kmem_cache_destroy. > > Cc: Joe Jin > Cc: Junxiao Bi

Re: [PATCH net v2] vxlan: don't allow overwrite of config src addr

2017-02-24 Thread David Miller
From: Brian Russell Date: Fri, 24 Feb 2017 17:47:11 + > When using IPv6 transport and a default dst, a pointer to the configured > source address is passed into the route lookup. If no source address is > configured, then the value is overwritten. > > IPv6 route lookup

[PATCH] iproute2: tc: introduce build dependency on libnetlink

2017-02-24 Thread Jiri Kosina
From: Jiri Kosina Rebuilding libnetlink doesn't trigger rebuild of tc, which is wrong (especially so for builds where libnetlink.a gets statically linked into tc). Fix that by introducing an explicit dependency. Signed-off-by: Jiri Kosina --- tc/Makefile |

[PATCH] bridge: Add support for IEEE 802.11 Proxy ARP for IPv6

2017-02-24 Thread Jouni Malinen
This is an IPv6 extension of commit 958501163ddd ("bridge: Add support for IEEE 802.11 Proxy ARP"). The IEEE 802.11 Proxy ARP feature is defined in IEEE Std 802.11-2012, 10.23.13. It allows the AP devices to keep track of the hardware-address-to-IP-address mapping of the mobile devices within the

Re: [PATCH 1/1] color: use "light" colors for dark background

2017-02-24 Thread Stephen Hemminger
On Fri, 24 Feb 2017 11:13:12 +0100 Petr Vorel wrote: > COLORFGBG environment variable is used to detect dark background. > > Idea and a bit of code is borrowed from Vim, thanks. > > Signed-off-by: Petr Vorel > --- > Colors are nice, but the ones chosen aren't

Re: [PATCH RFC] net/socket: use per af lockdep classes for sk queues

2017-02-24 Thread Cong Wang
On Fri, Feb 24, 2017 at 5:29 AM, Paolo Abeni wrote: > Currently the sock queue's spin locks get their lockdep > classes by the default init_spin_lock() initializer: > all socket families get - usually, see below - a single > class for rx, another specific class for tx, etc. >

[PATCH net v2] vxlan: don't allow overwrite of config src addr

2017-02-24 Thread Brian Russell
When using IPv6 transport and a default dst, a pointer to the configured source address is passed into the route lookup. If no source address is configured, then the value is overwritten. IPv6 route lookup ignores egress ifindex match if the source address is set, so if egress ifindex match is

[PATCH net-next] tools: hv: Add clean up function for Ubuntu config

2017-02-24 Thread Haiyang Zhang
This patch adds a function to clean up duplicate config info on Ubuntu. Signed-off-by: Haiyang Zhang --- tools/hv/bondvf.sh | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/tools/hv/bondvf.sh b/tools/hv/bondvf.sh index

Re: [PATCH net 1/1] net sched actions: decrement module reference count after table flush.

2017-02-24 Thread Cong Wang
On Fri, Feb 24, 2017 at 8:00 AM, Roman Mashak wrote: > When tc actions are loaded as a module and no actions have been installed, > flushing them would result in actions removed from the memory, but modules > reference count not being decremented, so that the modules would not

Re: [PATCH RFC] net/socket: use per af lockdep classes for sk queues

2017-02-24 Thread Eric Dumazet
On Fri, 2017-02-24 at 14:29 +0100, Paolo Abeni wrote: > Currently the sock queue's spin locks get their lockdep > classes by the default init_spin_lock() initializer: > all socket families get - usually, see below - a single > class for rx, another specific class for tx, etc. > This can lead to

Re: [PATCH 1/1] rds: fix memory leak error

2017-02-24 Thread sowmini
On 02/24/2017 04:28 AM, Zhu Yanjun wrote: When the function register_netdevice_notifier fails, the memory allocated by kmem_cache_create should be freed by the function kmem_cache_destroy. Cc: Joe Jin Cc: Junxiao Bi Signed-off-by: Zhu Yanjun

Re: [PATCH net] net: phy: Fix LED mode in DT single property.

2017-02-24 Thread Rob Herring
On Thu, Feb 23, 2017 at 11:59 PM, Raju Lakkaraju wrote: > From: Raju Lakkaraju > > Fix the LED mode DT parameters combine to a single property > and change the vendor prefix i.e. mscc. > > Signed-off-by: Raju Lakkaraju

Re: iproute2: hide devices starting with period by default

2017-02-24 Thread Andy Gospodarek
On Thu, Feb 23, 2017 at 11:50:28AM -0800, stephen hemminger wrote: > Some use cases create Linux networking devices which are not intended for use > by normal networking. This is an enhancement to ip command to hide network > devices starting with period (like files in normal directory).

Re: [PATCH 1/1] color: use "light" colors for dark background

2017-02-24 Thread Stephen Hemminger
On Fri, 24 Feb 2017 11:22:13 -0500 (EST) David Miller wrote: > From: Johannes Berg > Date: Fri, 24 Feb 2017 17:11:42 +0100 > > > > >> > Chosen colors are questionable. Best solution would be also allow > >> user to > >> > redefine colors,

Re: [PATCH 1/1] rds: fix memory leak error

2017-02-24 Thread Santosh Shilimkar
On 2/24/2017 1:28 AM, Zhu Yanjun wrote: When the function register_netdevice_notifier fails, the memory allocated by kmem_cache_create should be freed by the function kmem_cache_destroy. Cc: Joe Jin Cc: Junxiao Bi Signed-off-by: Zhu Yanjun

Basic test setup for testing of Kernel GTP-U

2017-02-24 Thread Harald Welte
Hi all, [intentionally breaking the thread here] On Thu, Feb 23, 2017 at 05:46:57PM +0100, Harald Welte wrote: > I'll try to cook up some instructions extending > https://osmocom.org/projects/openggsn/wiki/OpenGGSN to cover also > sgsnemu for a basic use case of establishing one single tunnel.

Re: [PATCH] vti6: return GRE_KEY for vti6

2017-02-24 Thread David Miller
From: David Forster Date: Fri, 24 Feb 2017 14:20:32 + > Align vti6 with vti by returning GRE_KEY flag. This enables iproute2 > to display tunnel keys on "ip -6 tunnel show" > > Signed-off-by: David Forster Applied, thanks.

Re: [PATCH 1/1] color: use "light" colors for dark background

2017-02-24 Thread David Miller
From: Johannes Berg Date: Fri, 24 Feb 2017 17:11:42 +0100 > >> > Chosen colors are questionable. Best solution would be also allow >> user to >> > redefine colors, like ls does with LS_COLORS or grep with >> GREP_COLORS. But that >> > is maybe overkill. >> >> I think

Re: [PATCH net v2] vxlan: correctly validate VXLAN ID against VXLAN_N_VID

2017-02-24 Thread David Miller
From: Matthias Schiffer Date: Thu, 23 Feb 2017 17:19:41 +0100 > The incorrect check caused an off-by-one error: the maximum VID 0xff > was unusable. > > Fixes: d342894c5d2f ("vxlan: virtual extensible lan") > Signed-off-by: Matthias Schiffer

Re: [PATCH net] rxrpc: Fix an assertion in rxrpc_read()

2017-02-24 Thread David Miller
From: David Howells Date: Fri, 24 Feb 2017 12:33:09 + > From: Marc Dionne > > In the rxrpc_read() function, which allows a user to read the contents of a > key, we miscalculate the expected length of an encoded rxkad token by not > taking into

Re: [PATCH net] net/mlx4_en: fix overflow in mlx4_en_init_timestamp()

2017-02-24 Thread David Miller
From: Eric Dumazet Date: Thu, 23 Feb 2017 15:22:43 -0800 > From: Eric Dumazet > > The cited commit makes a great job of finding optimal shift/multiplier > values assuming a 10 seconds wrap around, but forgot to change the > overflow_period

Re: [PATCH net] net: phy: Add missing driver check in phy_aneg_done()

2017-02-24 Thread David Miller
From: Florian Fainelli Date: Thu, 23 Feb 2017 14:22:19 -0800 > Dan's static checker caught a potential code path in phy_state_machine() where > we were not checking phydev->drv which is in phy_aneg_done(). > > Reported-by: Dan Carpenter > Fixes:

Re: [PATCH] net: stmmac: unify registers dumps methods

2017-02-24 Thread David Miller
From: Corentin Labbe Date: Thu, 23 Feb 2017 14:12:25 +0100 > The stmmac driver have two methods for registers dumps: via ethtool and > at init (if NETIF_MSG_HW is enabled). > > It is better to keep only one method, ethtool, since the other was ugly. > > This patch

Re: [PATCH net 1/1] tipc: move premature initilalization of stack variables

2017-02-24 Thread David Miller
From: Jon Maloy Date: Thu, 23 Feb 2017 11:10:31 -0500 > In the function tipc_rcv() we initialize a couple of stack variables > from the message header before that same header has been validated. > In rare cases when the arriving header is non-linar, the validation >

Re: [PATCH] RDS: IB: fix ifnullfree.cocci warnings

2017-02-24 Thread David Miller
From: kbuild test robot Date: Thu, 23 Feb 2017 20:47:01 +0800 > net/rds/ib.c:115:2-7: WARNING: NULL check before freeing functions like > kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not > needed. Maybe consider reorganizing relevant code to avoid

Re: [PATCH 1/1] color: use "light" colors for dark background

2017-02-24 Thread Johannes Berg
> > Chosen colors are questionable. Best solution would be also allow > user to > > redefine colors, like ls does with LS_COLORS or grep with > GREP_COLORS. But that > > is maybe overkill. > > I think you may have posted this to the wrong mailing list. Actually, it seems to just be missing the

Re: [PATCH net] sctp: deny peeloff operation on asocs with threads sleeping on it

2017-02-24 Thread David Miller
From: Marcelo Ricardo Leitner Date: Thu, 23 Feb 2017 09:31:18 -0300 > commit 2dcab5984841 ("sctp: avoid BUG_ON on sctp_wait_for_sndbuf") > attempted to avoid a BUG_ON call when the association being used for a > sendmsg() is blocked waiting for more sndbuf and another

[PATCH net 1/1] net sched actions: decrement module reference count after table flush.

2017-02-24 Thread Roman Mashak
When tc actions are loaded as a module and no actions have been installed, flushing them would result in actions removed from the memory, but modules reference count not being decremented, so that the modules would not be unloaded. Following is example with GACT action: % sudo modprobe act_gact

Re: [PATCH] iproute2: hide devices starting with period by default

2017-02-24 Thread David Ahern
On 2/23/17 8:12 PM, David Miller wrote: > This really need to be a fundamental facility, so that it transparently > works for NetworkManager, router daemons, everything. Not just iproute2 > and "ls". I'll rebase my patch and send out as RFC.

Re: [PATCH] iproute2: hide devices starting with period by default

2017-02-24 Thread Phil Sutter
On Thu, Feb 23, 2017 at 05:31:14PM -0800, Stephen Hemminger wrote: > On Thu, 23 Feb 2017 18:07:07 -0700 > David Ahern wrote: > > > On 2/23/17 5:30 PM, Stephen Hemminger wrote: > > > On Thu, 23 Feb 2017 16:39:52 -0700 > > > David Ahern wrote: >

Re: [PATCH 1/1] color: use "light" colors for dark background

2017-02-24 Thread David Miller
From: Petr Vorel Date: Fri, 24 Feb 2017 11:13:12 +0100 > COLORFGBG environment variable is used to detect dark background. > > Idea and a bit of code is borrowed from Vim, thanks. > > Signed-off-by: Petr Vorel > --- > Colors are nice, but the ones chosen aren't

[PATCH] vti6: return GRE_KEY for vti6

2017-02-24 Thread David Forster
Align vti6 with vti by returning GRE_KEY flag. This enables iproute2 to display tunnel keys on "ip -6 tunnel show" Signed-off-by: David Forster --- net/ipv6/ip6_vti.c | 4 1 file changed, 4 insertions(+) diff --git a/net/ipv6/ip6_vti.c b/net/ipv6/ip6_vti.c index

[PATCH] IB/rxe: increment msn only when completing a request

2017-02-24 Thread David Marchand
According to C9-147, MSN should only be incremented when the last packet of a multi packet request has been received. "Logically, the requester associates a sequential Send Sequence Number (SSN) with each WQE posted to the send queue. The SSN bears a one- to-one relationship to the MSN returned

Re: [PATCH v5 6/6] 6lowpan: Fix IID format for Bluetooth

2017-02-24 Thread Stefan Schmidt
Hello. On 02/24/2017 01:14 PM, Luiz Augusto von Dentz wrote: From: Luiz Augusto von Dentz Accourding to RFC 7668 U/L bit shall not be used: https://wiki.tools.ietf.org/html/rfc7668#section-3.2.2 [Page 10]: In the figure, letter 'b' represents a bit from the

[PATCH RFC] net/socket: use per af lockdep classes for sk queues

2017-02-24 Thread Paolo Abeni
Currently the sock queue's spin locks get their lockdep classes by the default init_spin_lock() initializer: all socket families get - usually, see below - a single class for rx, another specific class for tx, etc. This can lead to false positive lockdep splat, as reported by Andrey. Moreover

[PATCH net] rxrpc: Fix an assertion in rxrpc_read()

2017-02-24 Thread David Howells
From: Marc Dionne In the rxrpc_read() function, which allows a user to read the contents of a key, we miscalculate the expected length of an encoded rxkad token by not taking into account the key length. However, the data is stored later anyway with an ENCODE_DATA()

Re: [PATCH 3/3] mwifiex: wake system up when receives a wake irq

2017-02-24 Thread jeffy
Hi Kalle, On 02/24/2017 07:01 PM, Kalle Valo wrote: Jeffy Chen writes: Currrently we are disabling this wake irq after receiving it. If this happens before we finish suspend and the pm event check is disabled, the system will continue suspending, and this irq would

[PATCH v5 5/6] 6lowpan: Use netdev addr_len to determine lladdr len

2017-02-24 Thread Luiz Augusto von Dentz
From: Luiz Augusto von Dentz This allow technologies such as Bluetooth to use its native lladdr which is eui48 instead of eui64 which was expected by functions like lowpan_header_decompress and lowpan_header_compress. Signed-off-by: Luiz Augusto von Dentz

[PATCH v5 2/6] 6lowpan: Set MAC address length according to LOWPAN_LLTYPE

2017-02-24 Thread Luiz Augusto von Dentz
From: Patrik Flykt Set MAC address length according to the 6LoWPAN link layer in use. Bluetooth Low Energy uses 48 bit addressing while IEEE802.15.4 uses 64 bits. Signed-off-by: Patrik Flykt Reviewed-by: Stefan Schmidt

[PATCH v5 1/6] bluetooth: Set 6 byte device addresses

2017-02-24 Thread Luiz Augusto von Dentz
From: Patrik Flykt Set BTLE MAC addresses that are 6 bytes long and not 8 bytes that are used in other places with 6lowpan. Signed-off-by: Patrik Flykt Signed-off-by: Luiz Augusto von Dentz Reviewed-by:

[PATCH v5 0/6] Bluetooth: 6LoWPAN: Fix lladdr length

2017-02-24 Thread Luiz Augusto von Dentz
From: Luiz Augusto von Dentz These patches fixes lladdr length to be 6 bytes long and not 8 which cause neighbor advertisement to be sent with wrong lladdr including FF:FE filler bytes for eui64. Note: This does not fix some of the existing crashes which I hope to

[PATCH v5 4/6] ipv6: addrconf: fix 48 bit 6lowpan autoconfiguration

2017-02-24 Thread Luiz Augusto von Dentz
From: Alexander Aring This patch adds support for 48 bit 6LoWPAN address length autoconfiguration which is the case for BTLE 6LoWPAN. Signed-off-by: Alexander Aring Signed-off-by: Luiz Augusto von Dentz Reviewed-by: Stefan

[PATCH v5 3/6] 6lowpan: iphc: override l2 packet information

2017-02-24 Thread Luiz Augusto von Dentz
From: Alexander Aring The skb->pkt_type need to be set by L2, but on 6LoWPAN there exists L2 e.g. BTLE which doesn't has multicast addressing. If it's a multicast or not is detected by IPHC headers multicast bit. The IPv6 layer will evaluate this pkt_type, so we force set

[PATCH v5 6/6] 6lowpan: Fix IID format for Bluetooth

2017-02-24 Thread Luiz Augusto von Dentz
From: Luiz Augusto von Dentz Accourding to RFC 7668 U/L bit shall not be used: https://wiki.tools.ietf.org/html/rfc7668#section-3.2.2 [Page 10]: In the figure, letter 'b' represents a bit from the Bluetooth device address, copied as is without any changes on any

Re: [PATCH net-next v3 0/4] net: mvneta: improve rx/tx performance

2017-02-24 Thread Jisheng Zhang
Hi David, Marcin, On Tue, 21 Feb 2017 11:16:02 -0500 David Miller wrote: > From: Jisheng Zhang > Date: Tue, 21 Feb 2017 12:37:40 +0800 > > > Thanks for your review. > > > > The measurement is simple: record how much time we spent in mvneta_rx_swbm() > > for receiving 1GB

Hopefully

2017-02-24 Thread Rita Micheal
Dear friend, My name is Mr Micheal Rita, I am the Bill and Exchange (assistant) Manager of Bank of Africa Ouagadougou, Burkina Faso. In my department I discovered an abandoned sum of teen million five hundred thousand United State of American dollars (10.5MILLION USA DOLLARS) in an account that

Re: [PATCH 3/3] mwifiex: wake system up when receives a wake irq

2017-02-24 Thread Kalle Valo
Jeffy Chen writes: > Currrently we are disabling this wake irq after receiving it. If this > happens before we finish suspend and the pm event check is disabled, > the system will continue suspending, and this irq would not work again. > > We may need to abort system

[PATCH v2 net] net: phy: Fix LED mode in DT single property.

2017-02-24 Thread Raju Lakkaraju
From: Raju Lakkaraju Fix the LED mode DT parameters combine to a single property and change the vendor prefix i.e. mscc. Signed-off-by: Raju Lakkaraju --- Change set: v0: Fix the LED mode DT parameters combine to a single property v1:

[PATCH] drivers: net: xgene: Simplify xgene_enet_setup_mss() to kill warning

2017-02-24 Thread Geert Uytterhoeven
With gcc-4.1.2 and -Os: drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_start_xmit’: drivers/net/ethernet/apm/xgene/xgene_enet_main.c:297: warning: ‘mss_index’ may be used uninitialized in this function Using a separate variable to track success may confuse

[PATCH] lib: Allow compile-testing of parman

2017-02-24 Thread Geert Uytterhoeven
This allows to enable and run the accompanying test (test_parman) without dependencies on other users of parman. Signed-off-by: Geert Uytterhoeven --- lib/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kconfig index

RE: [PATCH net-next 2/2] sctp: add support for MSG_MORE

2017-02-24 Thread David Laight
From: Xin Long > Sent: 24 February 2017 06:44 ... > > IIRC sctp_packet_can_append_data() is called for the first queued > > data chunk in order to decide whether to generate a message that > > consists only of data chunks. > > If it returns SCTP_XMIT_OK then a message is built collecting the > >

[PATCH 1/1] color: use "light" colors for dark background

2017-02-24 Thread Petr Vorel
COLORFGBG environment variable is used to detect dark background. Idea and a bit of code is borrowed from Vim, thanks. Signed-off-by: Petr Vorel --- Colors are nice, but the ones chosen aren't suitable for dark background. COLORFGBG environment variable is used in some libraries

Re: [PATCH v2 net] net: phy: Fix LED mode in DT single property.

2017-02-24 Thread kbuild test robot
Hi Raju, [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Raju-Lakkaraju/net-phy-Fix-LED-mode-in-DT-single-property/20170224-171412 config: i386-randconfig-x011-201708 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce

Re: [PATCH v3 net-next 08/14] mlx4: use order-0 pages for RX

2017-02-24 Thread Jesper Dangaard Brouer
On Wed, 22 Feb 2017 18:06:58 -0800 Eric Dumazet wrote: > On Wed, 2017-02-22 at 17:08 -0800, Alexander Duyck wrote: > > > > > Right but you were talking about using both halves one after the > > other. If that occurs you have nothing left that you can reuse. That > >

[PATCH 1/1] rds: fix memory leak error

2017-02-24 Thread Zhu Yanjun
When the function register_netdevice_notifier fails, the memory allocated by kmem_cache_create should be freed by the function kmem_cache_destroy. Cc: Joe Jin Cc: Junxiao Bi Signed-off-by: Zhu Yanjun --- net/rds/tcp.c | 7

[PATCH v2 net] net: phy: Fix LED mode in DT single property.

2017-02-24 Thread Raju Lakkaraju
From: Raju Lakkaraju Fix the LED mode DT parameters combine to a single property and change the vendor prefix i.e. mscc. Signed-off-by: Raju Lakkaraju --- Change set: v0: Fix the LED mode DT parameters combine to a single property v1:

Re: [patch net] lib: Remove string from parman config selection

2017-02-24 Thread Jiri Pirko
Fri, Feb 24, 2017 at 08:54:04AM CET, ge...@linux-m68k.org wrote: >Hi Jiri, > >On Thu, Feb 23, 2017 at 10:57 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> As reported by Geert, remove the string so the user does not see this >> config option. The option is

Re: [patch net] lib: Remove string from parman config selection

2017-02-24 Thread Geert Uytterhoeven
Hi Jiri, On Fri, Feb 24, 2017 at 9:25 AM, Jiri Pirko wrote: > Fri, Feb 24, 2017 at 08:54:04AM CET, ge...@linux-m68k.org wrote: >>On Thu, Feb 23, 2017 at 10:57 AM, Jiri Pirko wrote: >>> From: Jiri Pirko >>> >>> As reported by Geert, remove

[PATCH net] ipv6: check sk sk_type and protocol early in ip_mroute_set/getsockopt

2017-02-24 Thread Xin Long
Commit 5e1859fbcc3c ("ipv4: ipmr: various fixes and cleanups") fixed the issue for ipv4 ipmr: ip_mroute_setsockopt() & ip_mroute_getsockopt() should not access/set raw_sk(sk)->ipmr_table before making sure the socket is a raw socket, and protocol is IGMP The same fix should be done for