From: Subash Abhinov Kasiviswanathan
Date: Wed, 22 Mar 2017 21:55:04 -0600
>> This doesn't build with ipv6 as a module:
>> net/built-in.o: In function `proc_tcp_early_demux':
>> sysctl_net_ipv4.c:(.text+0x145cfc): undefined reference to
>> `tcp_v6_early_demux_configure'
>> net/built-in.o: In func
On Thu, Mar 23, 2017 at 1:33 AM, Marcelo Ricardo Leitner
wrote:
> On Wed, Mar 22, 2017 at 02:07:37PM +, David Laight wrote:
>> From: Marcelo Ricardo Leitner [mailto:marcelo.leit...@gmail.com]
>> > Sent: 21 March 2017 22:04
>> > Hi,
>> ...
>> > > > 2. send 1 more chunk with MSG_MORE clear, the
The driver "dwc-xlgmac" is dual-licensed.
Declare the dual license with MODULE_LICENSE().
Signed-off-by: Jie Deng
---
drivers/net/ethernet/synopsys/dwc-xlgmac-common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c
b/drive
The driver "dwc-xlgmac" is dual-licensed. This patch adds
declaration of dual license in file headers.
Signed-off-by: Jie Deng
---
drivers/net/ethernet/synopsys/dwc-xlgmac-common.c | 6 ++
drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c | 6 ++
drivers/net/ethernet/synopsys/dwc-xlgmac-
This doesn't build with ipv6 as a module:
net/built-in.o: In function `proc_tcp_early_demux':
sysctl_net_ipv4.c:(.text+0x145cfc): undefined reference to
`tcp_v6_early_demux_configure'
net/built-in.o: In function `proc_udp_early_demux':
sysctl_net_ipv4.c:(.text+0x145d4c): undefined reference to
`u
1) Several netfilter fixes from Pablo and the crew:
a) Handle fragmented packets properly in netfilter conntrack,
from Florian Westphal.
b) Fix SCTP ICMP packet handling, from Ying Xue.
c) Fix big-endian bug in nftables, from Liping Zhang.
d) Fix alignmen
On 2017/3/23 2:50, David Miller wrote:
> From: Jie Deng
> Date: Tue, 21 Mar 2017 11:59:04 +0800
>
>> This patch adds declaration of dual license in file headers.
>>
>> Signed-off-by: Jie Deng
> My apologies. I applied Arnd's patches. Could you please respin
> these two patches against net-next
From: David Miller
Date: Wed, 22 Mar 2017 19:43:57 -0700 (PDT)
> From: Subash Abhinov Kasiviswanathan
> Date: Wed, 22 Mar 2017 20:00:41 -0600
>
>> Certain system process significant unconnected UDP workload.
>> It would be preferrable to disable UDP early demux for those systems
>> and enable i
From: Subash Abhinov Kasiviswanathan
Date: Wed, 22 Mar 2017 20:00:41 -0600
> Certain system process significant unconnected UDP workload.
> It would be preferrable to disable UDP early demux for those systems
> and enable it for TCP only.
>
> By disabling UDP demux, we see these slight gains on
From: Pavel Belous
Date: Thu, 23 Mar 2017 02:20:39 +0300
> From: Pavel Belous
>
> Since AQC-100/107/108 chips supports hardware checksums for RX we should
> indicate this
> via NETIF_F_RXCSUM flag.
>
> v1->v2: 'Signed-off-by' tag added.
>
> Signed-off-by: Pavel Belous
Applied, thanks.
From: Tom Lendacky
Date: Wed, 22 Mar 2017 17:25:27 -0500
> The ECC bit positions that describe whether the ECC interrupt is for
> Tx, Rx or descriptor memory and whether the it is a single correctable
> or double detected error were defined in incorrectly (reversed order).
> Fix the bit position
From: Stephen Hemminger
Date: Wed, 22 Mar 2017 14:50:56 -0700
> These fix NAPI issues and bugs found during testing of shutdown
> testing.
Series applied, thanks Stephen.
From: Felix Manlunas
Date: Wed, 22 Mar 2017 11:54:50 -0700
> From: VSR Burru
>
> If there are no egress packets pending, then don't look for tx completions
> in napi poll. Also, fix broken tx queue wakeup logic.
>
> Signed-off-by: VSR Burru
> Signed-off-by: Felix Manlunas
> Signed-off-by: S
From: Felix Manlunas
Date: Wed, 22 Mar 2017 11:31:13 -0700
> From: Satanand Burla
>
> Add workqueue that is periodically run to try to allocate RX buffers in OOM
> conditions in PF and VF.
>
> Signed-off-by: Satanand Burla
> Signed-off-by: Felix Manlunas
Applied, but I'm really not so sure
From: Wadim Egorov
Date: Wed, 22 Mar 2017 16:50:22 +0100
> @@ -74,6 +74,10 @@ struct rk_priv_data {
> #define GRF_BIT(nr) (BIT(nr) | BIT(nr+16))
> #define GRF_CLR_BIT(nr) (BIT(nr+16))
>
> +#define DELAY_ENABLE(soc, tx, rx) \
> + ((tx) ? soc##_GMAC_TXCLK_DLY_ENABLE : soc##_GMAC_TXCLK
From: Corentin Labbe
Date: Wed, 22 Mar 2017 14:29:04 +0100
> @@ -2224,7 +,8 @@ static int stmmac_release(struct net_device *dev)
> free_dma_desc_resources(priv);
>
> /* Disable the MAC Rx/Tx */
> - stmmac_set_mac(priv->ioaddr, false);
> + if (priv->hw->mac->set_mac)
> +
On 9 March 2017 at 14:10, Daurnimator wrote:
> When debugging https://github.com/daurnimator/lua-http/issues/73 which
> uses https://github.com/wahern/dns we ran into an issue where modern
> linux kernels return EINVAL if you try and re-use a udp socket.
> The issue seems to occur if you go from a
From: Philippe Reynes
Date: Wed, 22 Mar 2017 08:27:57 +0100
> The ethtool api {get|set}_settings is deprecated.
> We move this driver to new api {get|set}_link_ksettings.
>
> Signed-off-by: Philippe Reynes
Applied.
From: Philippe Reynes
Date: Tue, 21 Mar 2017 23:24:24 +0100
> The ethtool api {get|set}_settings is deprecated.
> We move this driver to new api {get|set}_link_ksettings.
>
> Signed-off-by: Philippe Reynes
> ---
> Changelog:
> v2:
> - remove comment about the missing hardware,
> I've tested t
From: Dan Carpenter
Date: Wed, 22 Mar 2017 12:10:02 +0300
> Presumably if there is an "add" function, there is also a "del"
> function. But it causes a static checker warning because it looks like
> a common cut and paste bug.
>
> Signed-off-by: Dan Carpenter
Looks good, applied, thanks Dan.
From: Marcel Holtmann
Date: Wed, 22 Mar 2017 20:23:15 +0100
> Hi Dave,
>
>>> By moving these client drivers to use RPMSG instead of the direct SMD
>>> API we can reuse them ontop of the newly added GLINK wire-protocol
>>> support found in the 820 and 835 Qualcomm platforms.
>>>
>>> As the new (
From: Iyappan Subramanian
Date: Tue, 21 Mar 2017 18:18:01 -0700
> This patch set,
>
> - adds phy management and ethtool support
> - fixes ethernet reset
> - addresses review comments from previous patch set
>
> Signed-off-by: Iyappan Subramanian
Series applied, thanks.
Certain system process significant unconnected UDP workload.
It would be preferrable to disable UDP early demux for those systems
and enable it for TCP only.
By disabling UDP demux, we see these slight gains on an ARM64 system-
782 -> 788Mbps unconnected single stream UDPv4
633 -> 654Mbps unconnec
Add support for the net stats64 counters to the usbnet core and then to
the qmi_wwan driver.
This is a strait forward addition of 64bit counters for RX and TX packets
and byte counts. It is done in the same style as for the other net drivers
that support stats64.
The bulk of the change is to the
A new function, kernel_sock_ip_overhead(), is provided
to calculate the cumulative overhead imposed by the IP
Header and IP options, if any, on a socket's payload.
The new function returns an overhead of zero for sockets
that do not belong to the IPv4 or IPv6 address families.
This is used in the
From: Chenbo Feng
Retrieve the socket cookie generated by sock_gen_cookie() from a sk_buff
with a known socket. Generates a new cookie if one was not yet set.If
the socket pointer inside sk_buff is NULL, 0 is returned. The helper
function coud be useful in monitoring per socket networking traffic
From: Chenbo Feng
Returns the owner uid of the socket inside a sk_buff. This is useful to
perform per-UID accounting of network traffic or per-UID packet
filtering. The socket need to be a fullsock otherwise overflowuid is
returned.
Signed-off-by: Chenbo Feng
---
include/uapi/linux/bpf.h
From: Chenbo Feng
Add a sample program to demostrate the possible usage of
get_socket_cookie and get_socket_uid helper function. The program will
store bytes and packets counting of in/out traffic monitored by iptables
and store the stats in a bpf map in per socket base. The owner uid of
the sock
From: Chenbo Feng
Introduce two eBpf helper function to get the socket cookie and
socket uid for each packet. The helper function is useful when
the *sk field inside sk_buff is not empty. These helper functions
can be used on socket and uid based traffic monitoring programs.
Change since V7:
* c
> From: netdev-ow...@vger.kernel.org [mailto:netdev-
> ow...@vger.kernel.org] On Behalf Of Tobias Klauser
> Sent: Wednesday, February 15, 2017 3:08 AM
> To: netdev@vger.kernel.org
> Cc: Kirsher, Jeffrey T ; intel-wired-
> l...@lists.osuosl.org; Joe Perches
> Subject: [PATCH net-next] e1000: Omit p
Tested-by: Taku Izumi
> -Original Message-
> From: YASUAKI ISHIMATSU [mailto:yasu.isim...@gmail.com]
> Sent: Wednesday, March 22, 2017 12:28 AM
> To: netdev@vger.kernel.org
> Cc: David Miller ; Izumi, Taku/泉 拓
> ; yasu.isim...@gmail.com
> Subject: [PATCH v3 0/2] fjes: Do not load fjes dri
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/net/ethernet/broadcom/genet/bcmmii.c
between commit:
31739eae738c ("net: bcmgenet: remove bcmgenet_internal_phy_setup()")
from the net tree and commit:
421380856d9c ("net: bcmgenet: add support for the GENE
On Wed, Mar 22, 2017 at 07:39:17PM +0200, Tariq Toukan wrote:
> > > > This modification may slow allocations from IRQ context slightly
> > > > but the
> > > > main gain from the per-cpu allocator is that it scales better for
> > > > allocations from multiple contexts. There is an implicit
> > > >
From: Pavel Belous
Since AQC-100/107/108 chips supports hardware checksums for RX we should
indicate this
via NETIF_F_RXCSUM flag.
v1->v2: 'Signed-off-by' tag added.
Signed-off-by: Pavel Belous
---
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0_internal.h | 1 +
drivers/net/ethernet
Existing L2TP kernel code does not derive the optimal MTU for Ethernet
pseudowires and instead leaves this to a userspace L2TP daemon or
operator. If an MTU is not specified, the existing kernel code chooses
an MTU that does not take account of all tunnel header overheads, which
can lead to unwant
Hey Steffen,
WireGuard makes really heavy use of padata, feeding it units of work
from different cores in different contexts all at the same time. For
the most part, everything has been fine, but one particular user has
consistently run into mysterious bugs. He's using a rather old dual
core CPU,
On Wed, Mar 22, 2017 at 3:59 PM, R. Parameswaran
wrote:
>
> A new function, kernel_sock_ip_overhead(), is provided
> to calculate the cumulative overhead imposed by the IP
> Header and IP options, if any, on a socket's payload.
> The new function returns an overhead of zero for sockets
> that do n
Existing L2TP kernel code does not derive the optimal MTU for Ethernet
pseudowires and instead leaves this to a userspace L2TP daemon or
operator. If an MTU is not specified, the existing kernel code chooses
an MTU that does not take account of all tunnel header overheads, which
can lead to unwant
A new function, kernel_sock_ip_overhead(), is provided
to calculate the cumulative overhead imposed by the IP
Header and IP options, if any, on a socket's payload.
The new function returns an overhead of zero for sockets
that do not belong to the IPv4 or IPv6 address families.
Signed-off-by: R. P
22.03.2017 16:23, Maxime Morin пишет:
Hi all,
I work on an embedded platform based on the Marvell Armada 88F6707, that is
connected to a Marvell Alaska 88E1512 ethernet transceiver. A defect has
appeared recently, and it turns out to be a regression on the network part.
There is a complete lo
From: Pavel Belous
Date: Wed, 22 Mar 2017 20:21:10 +0300
> From: Pavel Belous
>
> Since AQC-100/107/08 chips supports hardware checksums for RX we should
> indicate
> this via NETIF_F_RXCSUM flag.
Please resubmit this with a proper signoff.
Thank you.
From: Martin KaFai Lau
Date: Wed, 22 Mar 2017 10:00:31 -0700
> This patchset adds map-in-map support (map->map).
> One use case is the (vips -> webservers) in the L4 load balancer so
> that different vips can be backed by different set of webservers.
>
> Please refer to the individual commit log
From: Eric Dumazet
Date: Wed, 22 Mar 2017 08:57:15 -0700
> From: Eric Dumazet
>
> Dmitry reported a lockdep splat [1] (false positive) that we can fix
> by releasing the spinlock before calling icmp_send() from ip_expire()
>
> This is a false positive because sending an ICMP message can not
>
From: Eric Dumazet
Date: Wed, 22 Mar 2017 08:10:21 -0700
> From: Eric Dumazet
>
> icsk_ack.lrcvtime has a 0 value at socket creation time.
>
> tcpi_last_data_recv can have bogus value if no payload is ever received.
>
> This patch initializes icsk_ack.lrcvtime for active sessions
> in tcp_fin
From: Stanislaw Gruszka
Date: Wed, 22 Mar 2017 16:08:33 +0100
> Commit 2ae0f17df1cd ("genetlink: use idr to track families") replaced
>
> if (++n < fams_to_skip)
> continue;
> into:
>
> if (n++ < fams_to_skip)
> continue;
>
> This subtle change cause tha
From: Daniel Borkmann
Date: Wed, 22 Mar 2017 13:08:08 +0100
> In sk_clone_lock(), we create a new socket and inherit most of the
> parent's members via sock_copy() which memcpy()'s various sections.
> Now, in case the parent socket had a BPF socket filter attached,
> then newsk->sk_filter points
From: Joao Pinto
Date: Wed, 22 Mar 2017 11:56:05 +
> The dma operation mode configuration routine was wrongly moved to a
> function (stmmac_mtl_configuration) that is only executed if the
> core version is >= 4.00.
>
> Fixes: 6deee2221e11 ("net: stmmac: prepare dma op mode config for multipl
The ECC bit positions that describe whether the ECC interrupt is for
Tx, Rx or descriptor memory and whether the it is a single correctable
or double detected error were defined in incorrectly (reversed order).
Fix the bit position definitions for these settings so that the proper
ECC handling is p
On 03/23/2017 12:44 AM, Florian Fainelli wrote:
On 03/22/2017 02:19 PM, Pavel Belous wrote:
From: Pavel Belous
The following patchset containg several fixes for aQuantia AQtion driver
for net tree: A couple fixes for IPv6 and other fixes.
v1->v2: Fix compilation error (using HW_ATL_A0_TXD_C
On Wed, 2017-03-22 at 16:08 +0100, Stanislaw Gruszka wrote:
> Commit 2ae0f17df1cd ("genetlink: use idr to track families") replaced
>
> if (++n < fams_to_skip)
> continue;
> into:
>
> if (n++ < fams_to_skip)
> continue;
D'oh. I don't know how that ended up
Currently specifying a device to ip netconf and it dumps only values
for IPv4. Change this to dump data for all families unless a specific
family is given.
Signed-off-by: David Ahern
---
ip/ipnetconf.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/
Currently, 'ip netconf' only shows ipv4 and ipv6 netconf settings. If IPv6
is not enabled, the dump ends with
RTNETLINK answers: Operation not supported
when IPv6 request is attempted. Further, if the mpls_router module is also
loaded a separate request is needed to get MPLS settings.
To make
Allow callers of the dump API to handle nlmsg errors (e.g., an
unsupported feature). Setting RTNL_HANDLE_F_SUPPRESS_NLERR in the
rtnl_handle avoids unnecessary messages to the users in some case.
For example,
RTNETLINK answers: Operation not supported
when probing for support of a new feature.
Currently, ip netconf only shows data for ipv4 and ipv6 for dumps
and just ipv4 for device requests. Improve the user experience by
using the new kernel patch to dump all address families that have
registered. For example, if mpls_router module is loaded then mpls
values are displayed along with ip
On Wed 22 Mar 11:44 PDT 2017, David Miller wrote:
> From: Bjorn Andersson
> Date: Mon, 20 Mar 2017 16:35:42 -0700
>
> > By moving these client drivers to use RPMSG instead of the direct SMD
> > API we can reuse them ontop of the newly added GLINK wire-protocol
> > support found in the 820 and 83
On Wed, Mar 22, 2017 at 11:44:39AM -0700, David Miller wrote:
> From: Bjorn Andersson
> Date: Mon, 20 Mar 2017 16:35:42 -0700
>
> > By moving these client drivers to use RPMSG instead of the direct SMD
> > API we can reuse them ontop of the newly added GLINK wire-protocol
> > support found in the
22.03.2017 16:23, Maxime Morin пишет:
Hi all,
I work on an embedded platform based on the Marvell Armada 88F6707, that is
connected to a Marvell Alaska 88E1512 ethernet transceiver. A defect has
appeared recently, and it turns out to be a regression on the network part.
There is a complete lo
On Mon, Mar 20, 2017 at 04:35:44PM -0700, Bjorn Andersson wrote:
> With the RPM driver transitioned to RPMSG we can reuse the SMD-RPM
> driver ontop of GLINK for 8996, without any modifications.
>
> Signed-off-by: Bjorn Andersson
Acked-by: Andy Gross
On Mon, Mar 20, 2017 at 04:35:43PM -0700, Bjorn Andersson wrote:
> Remove the standalone SMD implementation as we have transitioned the
> client drivers to use the RPMSG based one.
>
> Also remove all dependencies on QCOM_SMD from Kconfig files, in order to
> keep them selectable in the absence of
On Mon, Mar 20, 2017 at 04:35:42PM -0700, Bjorn Andersson wrote:
> By moving these client drivers to use RPMSG instead of the direct SMD
> API we can reuse them ontop of the newly added GLINK wire-protocol
> support found in the 820 and 835 Qualcomm platforms.
>
> As the new (RPMSG-based) and old
It is cleaner to use RCU protected pointer (nvdev_ctx->nvdev)
to indicate device is in removed state, rather than having a separate
boolean flag. By using the pointer the context can be checked
by static checkers and dynamic lockdep.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/hyperv
The channel inbound lock was not being used at all by the netvsc
device, but the spin_lock was helpful by providing necessary
barrier before waiting.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/rndis_filter.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/
Rather than a lock and variable, use a refcount_t to keep track
of the number of sub channels. Don't need to wait for subchannels
on device removal since wait was already done in device_add.
Also fix the error handling; don't wait forever in case of
an error on request to create sub channels.
Si
Since there already is a special case goto for control messages (skb == NULL)
in netvsc_send, there is no need for later checks in same code path.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers
The netvsc driver has an internal structure (netvsc_device) which
is created when device is opened and released when device is closed.
And also opened/released when MTU or number of channels change.
Since this is referenced in the receive and transmit path, it is
safer to use RCU to protect/preven
Fix warning from unused set_complete variable. And rearrange code
to eliminate unnecessary goto's.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/rndis_filter.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/net/hyperv/rndis_filter.c
b/d
If device is not up, then changing MTU (or number of channels)
should not re-enable the device.
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc_drv.c | 29 -
1 file changed, 20 insertions(+), 9 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c
The default number of maximum channels should be limited to the
number of cpus available on the numa node of the primary channel.
This also makes sure maximum channels <= num_online_cpus
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc_drv.c | 3 +--
drivers/net/hyperv/rndis_fil
When using NAPI, the single stream performance declined signifcantly
because the poll routine was updating host after every burst
of packets. This excess signalling caused host throttling.
This fix restores the old behavior. Host is only signalled
after the ring has been emptied.
Signed-off-by: S
These fix NAPI issues and bugs found during testing of shutdown
testing.
Stephen Hemminger (9):
netvsc: fix NAPI performance regression
netvsc: handle offline mtu and channel change
netvsc: change max channel calculation
netvsc: use RCU to protect inner device structure
netvsc: uses RCU
On 03/22/2017 02:19 PM, Pavel Belous wrote:
> From: Pavel Belous
>
> The following patchset containg several fixes for aQuantia AQtion driver
> for net tree: A couple fixes for IPv6 and other fixes.
>
> v1->v2: Fix compilation error (using HW_ATL_A0_TXD_CTL_CMD_IPV6 instead
> HW_ATL_B0_T
On 2017-03-22 5:10 AM, Dan Carpenter wrote:
Presumably if there is an "add" function, there is also a "del"
function. But it causes a static checker warning because it looks like
a common cut and paste bug.
Signed-off-by: Dan Carpenter
Agreed, looks like a cut-n-paste buglet.
Acked-by: Jaro
From: Joel Scherpelz
Date: Wed, 22 Mar 2017 18:19:04 +0900
> This commit adds a new sysctl accept_ra_rt_info_min_plen that
> defines the minimum acceptable prefix length of Route Information
> Options. The new sysctl is intended to be used together with
> accept_ra_rt_info_max_plen to configure a
From: Pavel Belous
Fix Context Command bit: L3 type = "0" for IPv4, "1" for IPv6.
Signed-off-by: Pavel Belous
---
drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 3 +++
drivers/net/ethernet/aquantia/atlantic/aq_ring.h | 3 ++-
drivers/net/ethernet/aquantia/atlantic/hw_atl/
From: Pavel Belous
We need to reset is_gso flag when EOP reached (entire LSO packet processed).
Signed-off-by: Pavel Belous
---
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c | 1 +
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c | 1 +
2 files changed, 2 insertions(+)
di
From: Pavel Belous
Closing/opening the adapter is not needed at all.
The new mtu settings take effect immediately.
Signed-off-by: Pavel Belous
---
drivers/net/ethernet/aquantia/atlantic/aq_main.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_
From: Pavel Belous
Fix for missing initialization aq_ring header.lock spinlock.
Signed-off-by: Pavel Belous
---
drivers/net/ethernet/aquantia/atlantic/aq_ring.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_ring.c
b/drivers/net/ethernet/aquantia
From: Pavel Belous
The following patchset containg several fixes for aQuantia AQtion driver
for net tree: A couple fixes for IPv6 and other fixes.
v1->v2: Fix compilation error (using HW_ATL_A0_TXD_CTL_CMD_IPV6 instead
HW_ATL_B0_TXD_CTL_CMD_IPV6).
Pavel Belous (5):
net:ethernet:aquan
From: Pavel Belous
In order for the checksum offloads to work correctly we need to set the
packet type bit (TCP/UDP) in the TX context buffer.
Signed-off-by: Pavel Belous
---
drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 20
1 file changed, 16 insertions(+), 4 deletion
From: Subash Abhinov Kasiviswanathan
Date: Tue, 21 Mar 2017 21:20:10 -0600
> @@ -329,7 +329,7 @@ static int ip_rcv_finish(struct net *net, struct sock
> *sk, struct sk_buff *skb)
> int protocol = iph->protocol;
>
> ipprot = rcu_dereference(inet_protos[protocol]);
>
From: Eric Dumazet
Date: Tue, 21 Mar 2017 19:22:28 -0700
> From: Eric Dumazet
>
> Alexander reported a KMSAN splat caused by reads of uninitialized
> field (tb_id_in) from user provided struct fib_result_nl
>
> It turns out nl_fib_input() sanity tests on user input is a bit
> wrong :
>
> User
From: Alexei Starovoitov
Date: Tue, 21 Mar 2017 19:05:04 -0700
> In both kmalloc and prealloc mode the bpf_map_update_elem() is using
> per-cpu extra_elems to do atomic update when the map is full.
> There are two issues with it. The logic can be misused, since it allows
> max_entries+num_cpus el
On 2017-03-22 1:21 PM, Pavel Belous wrote:
From: Pavel Belous
Since AQC-100/107/08 chips supports hardware checksums for RX we should indicate
this via NETIF_F_RXCSUM flag.
Looks good, and fixes an lnst netperf test failure.
Acked-by: Jarod Wilson
--
Jarod Wilson
ja...@redhat.com
On 03/22/2017 10:21 PM, David Arcari wrote:
Hi,
On 03/22/2017 01:06 PM, Pavel Belous wrote:
From: Pavel Belous
Fix Context Command bit: L3 type = "0" for IPv4, "1" for IPv6.
Signed-off-by: Pavel Belous
---
drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 3 +++
drivers/net/eth
From: Nathan Sullivan
If the PHY is halted on stop, then do not set the state to PHY_UP. This
ensures the phy will be restarted later in phy_start when the machine is
started again.
Signed-off-by: Nathan Sullivan
Signed-off-by: Brad Mouring
Acked-by: Xander Huff
Acked-by: Kyle Roeschley
---
From: Jakub Kicinski
Date: Tue, 21 Mar 2017 17:59:06 -0700
> The first 10 patches of this series prepare nfpcore for concurrent
> accesses. This will be needed by upcoming hwmon and devlink patches.
> Most locking is already in place, the patches in this series iron out
> a few bugs.
>
> Last
From: Doug Berger
Date: Tue, 21 Mar 2017 14:01:06 -0700
> Commit 6ac3ce8295e6 ("net: bcmgenet: Remove excessive PHY reset")
> removed the bcmgenet_mii_reset() function from bcmgenet_power_up() and
> bcmgenet_internal_phy_setup() functions. In so doing it broke the reset
> of the internal PHY dev
From: Govindarajulu Varadarajan
Date: Tue, 21 Mar 2017 15:07:48 -0700
> update enic maintainers
>
> Signed-off-by: Govindarajulu Varadarajan
MAINTAINERS updates can always go to 'net' (unless it's for something
new in 'net-next') so that's where I've applied this patch.
Thanks.
From: David Ahern
Date: Tue, 21 Mar 2017 12:22:26 -0700
> Use the rtnl_dump_all to dump all netconf handlers that have been
> registered. Allows userspace to send a dump request for PF_UNSPEC
> and get all families.
>
> Cc: Nicolas Dichtel
> Signed-off-by: David Ahern
Applied, thanks David.
From: Dan Carpenter
Date: Tue, 21 Mar 2017 23:42:27 +0300
> The dma_mapping_error() returns true if there is an error but we want
> to return -ENOMEM and not 1.
>
> Fixes: 65e0ace2c5cd ("net: dwc-xlgmac: Initial driver for DesignWare
> Enterprise Ethernet")
> Signed-off-by: Dan Carpenter
Appl
From: Russell King - ARM Linux
Date: Tue, 21 Mar 2017 16:35:55 +
> This series cleans up phylib's MMD accessors, so that we have a common
> way of accessing the Clause 45 register set.
>
> The current situation is far from ideal - we have phy_(read|write)_mmd()
> which accesses Clause 45 reg
From: Alexander Potapenko
Date: Tue, 21 Mar 2017 17:14:27 +0100
> In the case udp_sk(sk)->pending is AF_INET6, udpv6_sendmsg() would
> jump to do_append_data, skipping the initialization of sockc.tsflags.
> Fix the problem by moving sockc.tsflags initialization earlier.
>
> The bug was detected
From: YASUAKI ISHIMATSU
Date: Tue, 21 Mar 2017 11:28:02 -0400
> The fjes driver is used only by FUJITSU servers and almost of all
> servers in the world never use it. But currently if ACPI PNP0C02
> is defined in the ACPI table, the following message is always shown:
>
> "FUJITSU Extended Socke
On 03/22/2017 06:00 PM, Martin KaFai Lau wrote:
Fix in verifier:
For the same bpf_map_lookup_elem() instruction (i.e. "call 1"),
a broken case is "a different type of map could be used for the
same lookup instruction". For example, an array in one case and a
hashmap in another. We have to resort
Hi Dave,
>> By moving these client drivers to use RPMSG instead of the direct SMD
>> API we can reuse them ontop of the newly added GLINK wire-protocol
>> support found in the 820 and 835 Qualcomm platforms.
>>
>> As the new (RPMSG-based) and old SMD implementations are mutually
>> exclusive we h
In some cases nfc_dbg() is useful. Add such macro to a header.
Signed-off-by: Andy Shevchenko
---
include/net/nfc/nfc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index 1a3de8b34ad2..bbdc73a3239d 100644
--- a/include/net/nfc/nfc.h
+++ b/incl
On 3/22/17 5:06 AM, Lorenzo Colitti wrote:
On Wed, Mar 22, 2017 at 8:09 PM, Willem de Bruijn
wrote:
+ if (!sk || !sk_fullsock(sk))
+ return overflowuid;
+ kuid = sock_net_uid(sock_net(sk), sk);
+ return from_kuid_munged(&init_user_ns, kuid);
Ideally, this would
Hi,
On 03/22/2017 01:06 PM, Pavel Belous wrote:
> From: Pavel Belous
>
> Fix Context Command bit: L3 type = "0" for IPv4, "1" for IPv6.
>
> Signed-off-by: Pavel Belous
> ---
> drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 3 +++
> drivers/net/ethernet/aquantia/atlantic/aq_ring.h
It looks like a typo to assign a return code to a variable which is not
used. Found due to a compiler warning:
net/nfc/netlink.c: In function ‘nfc_genl_activate_target’:
net/nfc/netlink.c:903:6: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
int rc;
^~
Signed-off-b
From: Thierry Reding
Date: Tue, 21 Mar 2017 16:12:11 +0100
> From: Thierry Reding
>
> Prior to the recent multi-queue changes the driver would configure the
> queues to use the AVB mode, but the mode then got switched to DCB. The
> hardware still works fine in DCB mode, but my testing capabilit
1 - 100 of 200 matches
Mail list logo