We should not hold a spinlock while pushing the skb into the networking
stack, so move the call to netif_rx_ni out of the critical region to where
we have dropped the spinlock.
Signed-off-by: Stefan Sørensen
---
drivers/net/phy/dp83640.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(
There is no reason to handle SIOC[GS]HWTSTAMP and return -EOPNOTSUPP when
CPTS is disabled, so just pass them on to the phy. This will allow PTP
timestamping on a capable phy by disabling CPTS.
Signed-off-by: Stefan Sørensen
---
drivers/net/ethernet/ti/cpsw.c | 12 ++--
1 file changed, 2
Hi Kishon,
On Wed, Aug 30, 2017 at 11:01:56AM +0530, Kishon Vijay Abraham I wrote:
>
> I think we should just select the mode that a particular lane has been
> configured here instead of populating all the modes. But I think that doesn't
> make sense since the mode is set by the consumer and the
Hi Kishon,
On Wed, Aug 30, 2017 at 10:49:13AM +0530, Kishon Vijay Abraham I wrote:
> On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote:
> > +
> > +static int mvebu_comphy_set_mode_sgmii(struct phy *phy, enum phy_mode mode)
>
> the mode need not be passed as argument here since this function
Using current TC code, it is very slow to insert a lot of rules.
In order to improve the rules update rate in TC,
we introduced the following two changes:
1) changed cls_flower to use IDR to manage the filters.
2) changed all act_xxx modules to use IDR instead of
a small
Currently, all filters with the same priority are linked in a doubly
linked list. Every filter should have a unique handle. To make the
handle unique, we need to iterate the list every time to see if the
handle exists or not when inserting a new filter. It is time-consuming.
For example, it takes a
The following new APIs are added:
int idr_alloc_ext(struct idr *idr, void *ptr, unsigned long *index,
unsigned long start, unsigned long end, gfp_t gfp);
void *idr_remove_ext(struct idr *idr, unsigned long id);
void *idr_find_ext(const struct idr *idr, unsigned long id);
void *id
Typically, each TC filter has its own action. All the actions of the
same type are saved in its hash table. But the hash buckets are too
small that it degrades to a list. And the performance is greatly
affected. For example, it takes about 0m11.914s to insert 64K rules.
If we convert the hash table
gt;> url:
>> https://github.com/0day-ci/linux/commits/Greg-Kroah-Hartman/irda-move-it-to-drivers-staging-so-we-can-delete-it/20170829-090816
>>
>> in testcase: trinity
>> with following parameters:
>>
>> runtime: 300s
>>
>> test-description:
Greg-Kroah-Hartman/irda-move-it-to-drivers-staging-so-we-can-delete-it/20170829-090816
>
> in testcase: trinity
> with following parameters:
>
> runtime: 300s
>
> test-description: Trinity is a linux system call fuzz tester.
> test-url: http://codemonkey.org.uk/proj
Add handling of IPV6_PKTOPTIONS to dccp_v6_do_rcv() in net/dccp/ipv6.c, similar
to the handling in net/ipv6/tcp_ipv6.c
Signed-off-by: Andrii Vladyka diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 1b58eac..fdff10b 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -16,6 +16,7 @@
#include
FYI, we noticed the following commit:
commit: 66d98e78e44ccb969cb3196995759d200e64b49b ("irda: move net/irda/ to
drivers/staging/irda/net/")
url:
https://github.com/0day-ci/linux/commits/Greg-Kroah-Hartman/irda-move-it-to-drivers-staging-so-we-can-delete-it/20170829-090816
in testcas
From: Florian Fainelli
Date: Tue, 29 Aug 2017 21:48:51 -0700
> A stray return was added in the macro bcmgenet_##name##_writel where it
> should not, drop it.
>
> Reported-by: kbuild test robot
> Fixes: 69d2ea9c7989 ("net: bcmgenet: Use correct I/O accessors")
> Signed-off-by: Florian Fainelli
From: Samuel Mendoza-Jonas
Date: Wed, 30 Aug 2017 14:37:21 +1000
> On Mon, 2017-08-28 at 16:50 -0700, David Miller wrote:
>> From: Samuel Mendoza-Jonas
>> Date: Mon, 28 Aug 2017 16:18:40 +1000
>>
>> > This series (mainly patch 2) adds VLAN filtering to the NCSI
>> > implementation.
>> > A fair
On Wednesday 30 August 2017 06:19 AM, Adam Ford wrote:
> On Tue, Aug 29, 2017 at 10:20 AM, Adam Ford wrote:
>> On Tue, Aug 29, 2017 at 10:16 AM, Sekhar Nori wrote:
>>> On Tuesday 29 August 2017 05:32 PM, Adam Ford wrote:
On Tue, Aug 29, 2017 at 6:42 AM, Sekhar Nori wrote:
> On Tuesday 2
On Wed, Aug 30, 2017 at 06:17:07AM +0800, David Miller wrote:
> From: Jiri Benc
> Date: Mon, 28 Aug 2017 21:43:20 +0200
>
> > This adds header structs and helpers for NSH together with GSO support.
> >
> > Note there is no code in this patchset that actually manipulates the NSH
> > headers. That
Hi,
On Tuesday 29 August 2017 06:42 PM, Antoine Tenart wrote:
> Hi Kishon,
>
> On Tue, Aug 29, 2017 at 05:55:06PM +0530, Kishon Vijay Abraham I wrote:
>> On Tuesday 29 August 2017 04:53 PM, Antoine Tenart wrote:
>>> On Tue, Aug 29, 2017 at 04:34:17PM +0530, Kishon Vijay Abraham I wrote:
On M
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: eaa72dc47488d599439cd0fd0f8c4f1bcb3906bb
commit: 69d2ea9c798983c4a7157278ec84ff969d1cd8e8 [427/429] net: bcmgenet: Use
correct I/O accessors
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-
Hi Antoine,
On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote:
> On the CP110 unit, which can be found on various Marvell platforms such
> as the 7k and 8k (currently), a comphy (common PHYs) hardware block can
> be found. This block provides a number of PHYs which can be used in
> various m
A stray return was added in the macro bcmgenet_##name##_writel where it
should not, drop it.
Reported-by: kbuild test robot
Fixes: 69d2ea9c7989 ("net: bcmgenet: Use correct I/O accessors")
Signed-off-by: Florian Fainelli
---
drivers/net/ethernet/broadcom/genet/bcmgenet.h | 2 +-
1 file changed,
RmNet driver provides a transport agnostic MAP (multiplexing and
aggregation protocol) support in embedded module. Module provides
virtual network devices which can be attached to any IP-mode
physical device. This will be used to provide all MAP functionality
on future hardware in a single consiste
Define the raw IP type. This is needed for raw IP net devices
like rmnet.
Signed-off-by: Subash Abhinov Kasiviswanathan
---
include/uapi/linux/if_arp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/if_arp.h b/include/uapi/linux/if_arp.h
index cf73510..a2a6356 100644
---
This patch series adds support for the rmnet driver which is required to
support recent chipsets using Qualcomm Technologies, Inc. modems. The data
from hardware follows the multiplexing and aggregation protocol (MAP).
This driver can be used to register onto any physical network device in
IP mode
Define the Qualcomm multiplexing and aggregation (MAP) ether type 0x00F9.
This is needed for receiving data in the MAP protocol like RMNET. This is
not an officially registered ID.
Signed-off-by: Subash Abhinov Kasiviswanathan
---
include/uapi/linux/if_ether.h | 3 +++
1 file changed, 3 insertio
On Mon, 2017-08-28 at 16:50 -0700, David Miller wrote:
> From: Samuel Mendoza-Jonas
> Date: Mon, 28 Aug 2017 16:18:40 +1000
>
> > This series (mainly patch 2) adds VLAN filtering to the NCSI implementation.
> > A fair amount of code already exists in the NCSI stack for VLAN filtering
> > but
> >
On Tue, Aug 29, 2017 at 09:38:16PM -0600, David Ahern wrote:
> On 8/29/17 8:58 PM, Alexei Starovoitov wrote:
> > On Tue, Aug 29, 2017 at 07:03:43PM -0600, David Ahern wrote:
> >> On 8/28/17 10:11 PM, Alexei Starovoitov wrote:
> >>>
> >>> Agree on the above, but you're mixing semantics of the new re
Le 08/07/17 à 15:26, Florian Fainelli a écrit :
> Hi,
>
> Most DSA supported Broadcom switches have multiple queues per ports
> (usually 8) and each of these queues can be configured with different
> pause, drop, hysteresis thresholds and so on in order to make use of the
> switch's internal buffe
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: eaa72dc47488d599439cd0fd0f8c4f1bcb3906bb
commit: 69d2ea9c798983c4a7157278ec84ff969d1cd8e8 [427/429] net: bcmgenet: Use
correct I/O accessors
config: blackfin-allyesconfig (attached as .config)
compiler: bfin
On 8/29/17 8:58 PM, Alexei Starovoitov wrote:
> On Tue, Aug 29, 2017 at 07:03:43PM -0600, David Ahern wrote:
>> On 8/28/17 10:11 PM, Alexei Starovoitov wrote:
>>>
>>> Agree on the above, but you're mixing semantics of the new recurse
>>> flag and implementation of it. Ex: we don't have to copy this
On Mon, 2017-08-28 at 13:53 -0700, David Ahern wrote:
> Tariq repored local pings to linklocal address is failing:
> $ ifconfig ens8
> ens8: flags=4163 mtu 1500
> inet 11.141.16.6 netmask 255.255.0.0 broadcast 11.141.255.255
> inet6 fe80::7efe:90ff:fecb:7502 prefixlen 64 scopei
On Tue, Aug 29, 2017 at 9:45 PM, Jason Wang wrote:
>
>
> On 2017年08月30日 03:35, Willem de Bruijn wrote:
>>
>> On Fri, Aug 25, 2017 at 9:03 PM, Willem de Bruijn
>> wrote:
>>>
>>> On Fri, Aug 25, 2017 at 7:32 PM, Michael S. Tsirkin
>>> wrote:
On Fri, Aug 25, 2017 at 06:44:36PM -0400, Will
On Tue, Aug 29, 2017 at 5:58 PM, David Miller wrote:
> From: Tom Herbert
> Date: Tue, 29 Aug 2017 16:27:07 -0700
>
>> For UDP socket lookup functions, and associateed functions that take an
>> skbuf as argument, declare the skb argument as constant.
>>
>> One caveat is that reuseport_select_sock
On Tue, Aug 29, 2017 at 07:03:43PM -0600, David Ahern wrote:
> On 8/28/17 10:11 PM, Alexei Starovoitov wrote:
> >
> > Agree on the above, but you're mixing semantics of the new recurse
> > flag and implementation of it. Ex: we don't have to copy this flag
> > from prog->attr into cgroup. So this r
Best Regards,
liujian
> -Original Message-
> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org]
> On Behalf Of Florian Westphal
> Sent: Tuesday, August 29, 2017 9:47 PM
> To: liujian (CE)
> Cc: Florian Westphal; Jesper Dangaard Brouer; netdev@vger.kernel.org;
> Wa
On 2017年08月30日 03:35, Willem de Bruijn wrote:
On Fri, Aug 25, 2017 at 9:03 PM, Willem de Bruijn
wrote:
On Fri, Aug 25, 2017 at 7:32 PM, Michael S. Tsirkin wrote:
On Fri, Aug 25, 2017 at 06:44:36PM -0400, Willem de Bruijn wrote:
We don't enable network watchdog on virtio but we could and ma
On Tue, Aug 29, 2017 at 12:02 PM, Nikolay Aleksandrov
wrote:
> First I did it with the check in the for () conditional, but this is more
> visible and explicit. Let me know if you'd like the shorter version. :-)
Or, if you want to make the patch size smaller, just check NULL
before for():
if (!q
On 2017-08-29 19:12, David Miller wrote:
Sigh, I had to revert.
You only allow RMNET to take on the values 'y' and 'n'.
You must allow for it to be 'm' and modular as well.
Hi David
I'll fix this now.
Sorry about the cover letter. I'll explain it better in subsequent
submission.
--
Qualco
Sigh, I had to revert.
You only allow RMNET to take on the values 'y' and 'n'.
You must allow for it to be 'm' and modular as well.
From: Subash Abhinov Kasiviswanathan
Date: Tue, 29 Aug 2017 18:47:55 -0600
> I have updated the locking scheme as follows -
Series applied, but this is not how you write a header posting for a
patch set.
This posting is where you say at a high level what the patch series is
doing, how it is doi
On 8/28/17 10:11 PM, Alexei Starovoitov wrote:
>
> Agree on the above, but you're mixing semantics of the new recurse
> flag and implementation of it. Ex: we don't have to copy this flag
> from prog->attr into cgroup. So this reset or non-reset discussion
> only makes sense in the context of your
From: Tom Herbert
Date: Tue, 29 Aug 2017 16:27:08 -0700
> +#define GOTO_BY_RESULT(ret) do { \
> + switch (ret) { \
> + case FLOW_DISSECT_RET_OUT_GOOD: \
> + goto out_good;
From: Tom Herbert
Date: Tue, 29 Aug 2017 16:27:07 -0700
> For UDP socket lookup functions, and associateed functions that take an
> skbuf as argument, declare the skb argument as constant.
>
> One caveat is that reuseport_select_sock can be called from the UDP
> lookup functions with an skb argu
RmNet driver provides a transport agnostic MAP (multiplexing and
aggregation protocol) support in embedded module. Module provides
virtual network devices which can be attached to any IP-mode
physical device. This will be used to provide all MAP functionality
on future hardware in a single consiste
Hi David
I have updated the locking scheme as follows -
The shared resource which needs to be protected is realdev->rx_handler_data.
For the writer path, this is using rtnl_lock(). The writer paths are
rmnet_newlink(), rmnet_dellink() and rmnet_force_unassociate_device(). These
paths are already
Define the Qualcomm multiplexing and aggregation (MAP) ether type 0x00F9.
This is needed for receiving data in the MAP protocol like RMNET. This is
not an officially registered ID.
Signed-off-by: Subash Abhinov Kasiviswanathan
---
include/uapi/linux/if_ether.h | 3 +++
1 file changed, 3 insertio
Define the raw IP type. This is needed for raw IP net devices
like rmnet.
Signed-off-by: Subash Abhinov Kasiviswanathan
---
include/uapi/linux/if_arp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/if_arp.h b/include/uapi/linux/if_arp.h
index cf73510..a2a6356 100644
---
dtb should
>>>> result in the random mac address going away.
>>>
>>> Unfortunately, I am not seeing any change with the patch (at least
>>> with Kernel 4.12.9 from stable).
>>>
>>> netconsole: network logging started
>>> d
"prakash.sangappa" writes:
> On 08/29/2017 04:02 PM, David Miller wrote:
>> From: Prakash Sangappa
>> Date: Mon, 28 Aug 2017 17:12:20 -0700
>>
>>> Currently passing tid(gettid(2)) of a thread in struct ucred in
>>> SCM_CREDENTIALS message requires CAP_SYS_ADMIN capability otherwise
>>> it fails
On 08/29/2017 04:02 PM, David Miller wrote:
From: Prakash Sangappa
Date: Mon, 28 Aug 2017 17:12:20 -0700
Currently passing tid(gettid(2)) of a thread in struct ucred in
SCM_CREDENTIALS message requires CAP_SYS_ADMIN capability otherwise
it fails with EPERM error. Some applications deal with
For UDP socket lookup functions, and associateed functions that take an
skbuf as argument, declare the skb argument as constant.
One caveat is that reuseport_select_sock can be called from the UDP
lookup functions with an skb argument. This function temporarily
modifies the skbuff data pointer (in
Add support to perform UDP specific flow dissection. This is
primarily intended for dissecting encapsulated packets in UDP
encapsulation.
This patch adds a flow_dissect offload for UDP4 and UDP6. The backend
function performs a socket lookup and calls the flow_dissect function
if a socket is found
Populate offload flow_dissect callback appropriately for VXLAN and
VXLAN-GPE.
Signed-off-by: Tom Herbert
---
drivers/net/vxlan.c | 50 ++
1 file changed, 50 insertions(+)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index ae3a1da703c2..4
Populate offload flow_dissect callabck appropriately for fou and gue.
Signed-off-by: Tom Herbert
---
net/ipv4/fou.c | 63 ++
1 file changed, 63 insertions(+)
diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c
index 1540db65241a..a831dd49fb28 100
Add offload capability for performing protocol specific flow dissection
(either by EtherType or IP protocol).
Specifically:
- Add flow_dissect to offload callbacks
- Move flow_dissect_ret enum to flow_dissector.h, cleanup names and add a
couple of values
- Create GOTO_BY_RESULT macro to use in
Support for processing TEB is currently in GRE flow dissection as a
special case. This can be moved to be a case the main proto switch in
__skb_flow_dissect.
Signed-off-by: Tom Herbert
---
net/core/flow_dissector.c | 44 +++-
1 file changed, 23 insertions(
This patch set adds a new offload type to perform flow dissection for
specific protocols (either by EtherType or by IP protocol). This is
primary useful to crack open UDP encapsulations (like VXLAN, GUE) for
the purposes of parsing the encapsulated packet.
Items in this patch set:
- Constify skb a
On Tue, 2017-08-29 at 15:16 -0700, Eric Dumazet wrote:
> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
> index
> 568ccfd6dd371d88136ffabe5cfcc36f099786b6..7616cd76f6f6a62f395da897baef2c66c0098193
> 100644
> --- a/net/ipv4/tcp_input.c
> +++ b/net/ipv4/tcp_input.c
> @@ -6086,9 +6086,9 @@
From: Eric Dumazet
Date: Tue, 29 Aug 2017 16:15:28 -0700
> On Tue, 2017-08-29 at 15:16 -0700, Eric Dumazet wrote:
>> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
>> index
>> 568ccfd6dd371d88136ffabe5cfcc36f099786b6..7616cd76f6f6a62f395da897baef2c66c0098193
>> 100644
>> --- a/net/ipv4
From: Iyappan Subramanian
Date: Tue, 29 Aug 2017 15:43:12 -0700
> From: Quan Nguyen
>
> The phy is connected at early stage of probe but not properly
> disconnected if error occurs. This patch fixes the issue.
>
> Also changing the return type of xgene_enet_check_phy_handle(),
> since this fu
On 30.08.2017 02:06, David Miller wrote:
>
> I expect that you will resubmit all of these similar fixes as a patch
> series after you have sorted everything out.
>
> Correct?
>
Yes, I will. There are a few more places that need fixing, I'll resubmit
them all as a set.
From: Eric Dumazet
Date: Tue, 29 Aug 2017 15:16:01 -0700
> From: Eric Dumazet
>
> Florian reported UDP xmit drops that could be root caused to the
> too small neigh limit.
>
> Current limit is 64 KB, meaning that even a single UDP socket would hit
> it, since its default sk_sndbuf comes from n
From: Florian Fainelli
Date: Tue, 29 Aug 2017 12:25:31 -0700
> The GENET driver currently uses __raw_{read,write}l which means
> native I/O endian. This works correctly for an ARM LE kernel (default)
> but fails miserably on an ARM BE (BE8) kernel where registers are kept
> little endian, so repl
From: Dave Jiang
Date: Tue, 29 Aug 2017 13:17:51 -0700
> Since the removal of NET_DMA, dmaengine.h header file shouldn't be needed
> by netdevice.h anymore.
>
> Signed-off-by: Dave Jiang
Applied to net-next, but it would have been really great for you to
have provided a proper "Fixes: " tag re
From: Felix Manlunas
Date: Tue, 29 Aug 2017 12:19:57 -0700
> From: Weilin Chang
>
> Signed-off-by: Weilin Chang
> Signed-off-by: Felix Manlunas
> ---
> Patch Change Log:
> V1 -> V2:
> * Move octeon_get_uboot_version() to a proper place to avoid forward
> declaration.
> * Remov
From: Dan Carpenter
Date: Tue, 29 Aug 2017 22:15:16 +0300
> Both the nfp_net_pf_app_start() and the nfp_net_pci_probe() functions
> call nfp_net_pf_app_stop_ctrl(pf) so there is a double free. The free
> should be done from the probe function because it's allocated there so
> I have removed the
I expect that you will resubmit all of these similar fixes as a patch
series after you have sorted everything out.
Correct?
From: Bhumika Goyal
Date: Tue, 29 Aug 2017 22:17:52 +0530
> Make these const as they are not modified anywhere.
>
> Signed-off-by: Bhumika Goyal
Applied.
From:
Date: Tue, 29 Aug 2017 21:05:34 +0800
> From: liujian
>
> From 6d7b857d5( net: use lib/percpu_counter API for fragmentation mem
> accounting),
> frag_mem_limit and sum_frag_mem_limit have different value if there are
> multiple NIC RX CPU.
> Print frag_mem_limit value, then we can get mor
From: Prakash Sangappa
Date: Mon, 28 Aug 2017 17:12:20 -0700
> Currently passing tid(gettid(2)) of a thread in struct ucred in
> SCM_CREDENTIALS message requires CAP_SYS_ADMIN capability otherwise
> it fails with EPERM error. Some applications deal with thread id
> of a thread(tid) and so it woul
On Tue, 2017-08-29 at 15:29 -0700, Ivan Delalande wrote:
> Report TCP MD5 (RFC2385) signing keys, addresses and address prefixes to
> processes with CAP_NET_ADMIN requesting INET_DIAG_INFO. Currently it is
> not possible to retrieve these from the kernel once they have been
> configured on sockets.
On Tue, Aug 29, 2017 at 4:40 PM, Michael S. Tsirkin wrote:
> On Tue, Aug 29, 2017 at 03:53:08PM -0400, Willem de Bruijn wrote:
>> On Tue, Aug 29, 2017 at 3:42 PM, Michael S. Tsirkin wrote:
>> > On Tue, Aug 29, 2017 at 03:35:38PM -0400, Willem de Bruijn wrote:
>> >> By the way, I have had an unrel
From: Quan Nguyen
The phy is connected at early stage of probe but not properly
disconnected if error occurs. This patch fixes the issue.
Also changing the return type of xgene_enet_check_phy_handle(),
since this function always returns success.
Signed-off-by: Quan Nguyen
Signed-off-by: Iyapp
On Tue, Aug 29, 2017 at 5:13 PM, Michael S. Tsirkin wrote:
> On Tue, Aug 29, 2017 at 05:02:29PM -0400, Willem de Bruijn wrote:
>> + virtio-dev
>>
>> On Tue, Aug 29, 2017 at 4:38 PM, Michael S. Tsirkin wrote:
>> > On Tue, Aug 29, 2017 at 04:27:41PM -0400, Willem de Bruijn wrote:
>> >> On Tue, Aug
On Tue, 29 Aug 2017 15:29:53 -0700
Ivan Delalande wrote:
> @@ -452,13 +466,14 @@ int inet_diag_dump_one_icsk(struct inet_hashinfo
> *hashinfo,
> struct net *net = sock_net(in_skb->sk);
> struct sk_buff *rep;
> struct sock *sk;
> + bool net_admin = netlink_net_capable(in_skb
Please add proper signoffs to your patches.
Thanks.
From: David Ahern
Date: Mon, 28 Aug 2017 13:53:34 -0700
> Tariq repored local pings to linklocal address is failing:
> $ ifconfig ens8
> ens8: flags=4163 mtu 1500
> inet 11.141.16.6 netmask 255.255.0.0 broadcast 11.141.255.255
> inet6 fe80::7efe:90ff:fecb:7502 prefixlen 64 sc
From: Tom Lendacky
Date: Mon, 28 Aug 2017 15:29:34 -0500
> There is a difference in the bit position of the normal interrupt summary
> enable (NIE) and abnormal interrupt summary enable (AIE) between revisions
> of the hardware. For older revisions the NIE and AIE bits are positions
> 16 and 15
Allow userspace to retrieve MD5 signature keys and addresses configured
on TCP sockets through inet_diag.
Thank you Eric Dumazet for the useful explanations and feedback.
v3: - rename inet_diag_*md5sig in tcp_diag.c to tcp_diag_* for
consistency,
- don't lock the socket tcp_diag_put_md5
Report TCP MD5 (RFC2385) signing keys, addresses and address prefixes to
processes with CAP_NET_ADMIN requesting INET_DIAG_INFO. Currently it is
not possible to retrieve these from the kernel once they have been
configured on sockets.
Signed-off-by: Ivan Delalande
---
include/uapi/linux/inet_dia
Extend inet_diag_handler to allow individual protocols to report
additional data on INET_DIAG_INFO through idiag_get_aux. The size
can be dynamic and is computed by idiag_get_aux_size.
Signed-off-by: Ivan Delalande
---
include/linux/inet_diag.h | 7 +++
net/ipv4/inet_diag.c | 22 ++
On 29/08/2017 03:44, Chenbo Feng wrote:
> On Mon, Aug 28, 2017 at 6:15 PM, Alexei Starovoitov
> wrote:
>> On Mon, Aug 28, 2017 at 05:47:19PM -0700, Chenbo Feng wrote:
>>> On Fri, Aug 25, 2017 at 6:03 PM, Alexei Starovoitov
>>> wrote:
On Fri, Aug 25, 2017 at 10:07:27PM +0200, Daniel Borkmann
From: Jiri Benc
Date: Mon, 28 Aug 2017 21:43:20 +0200
> This adds header structs and helpers for NSH together with GSO support.
>
> Note there is no code in this patchset that actually manipulates the NSH
> headers. That was sent to netdev by Yi Yang ("[PATCH net-next v6 0/3]
> openvswitch: add
From: Eric Dumazet
Florian reported UDP xmit drops that could be root caused to the
too small neigh limit.
Current limit is 64 KB, meaning that even a single UDP socket would hit
it, since its default sk_sndbuf comes from net.core.wmem_default
(~212992 bytes on 64bit arches).
Once ARP/ND resolu
From: Alexander Aring
Date: Mon, 28 Aug 2017 15:03:12 -0400
> this patch series will introduce the IFE ethertype which is registered by
> IEEE. If the netlink act_ife type netlink attribute is not given it will
> use this value by default now.
> At least it will introduce some UAPI testcases to c
From: Florian Fainelli
Date: Tue, 29 Aug 2017 15:07:51 -0700
> Explain that the patch queue in patchwork should not be touched by patch
> submitters.
>
> Signed-off-by: Florian Fainelli
Applied.
From: Florian Fainelli
Date: Tue, 29 Aug 2017 15:08:00 -0700
> On 08/29/2017 02:52 PM, David Miller wrote:
>> From: Florian Fainelli
>> Date: Tue, 29 Aug 2017 14:45:30 -0700
>>
>>> On 08/29/2017 02:42 PM, David Miller wrote:
From: Florian Fainelli
Date: Tue, 29 Aug 2017 11:39:41 -070
From: Pavel Belous
Date: Mon, 28 Aug 2017 21:52:07 +0300
> From: Pavel Belous
>
> This series contains updates for aQuantia Atlantic driver.
>
> It has bugfixes and some improvements.
>
> Changes in v2:
> - "MCP state change" fix removed (will be sent as
> a separate fix after further in
From: Benjamin Poirier
Date: Mon, 28 Aug 2017 14:29:41 -0400
> ... which may happen with certain values of tp_reserve and maclen.
>
> Fixes: 58d19b19cd99 ("packet: vnet_hdr support for tpacket_rcv")
> Signed-off-by: Benjamin Poirier
> Cc: Willem de Bruijn
Applied and queued up for -stable.
From: Parthasarathy Bhuvaragan
Date: Mon, 28 Aug 2017 17:57:02 +0200
> For a bond slave device as a tipc bearer, the dev represents the bond
> interface and orig_dev represents the slave in tipc_l2_rcv_msg().
> Since we decode the tipc_ptr from bonding device (dev), we fail to
> find the bearer a
On 08/29/2017 02:52 PM, David Miller wrote:
> From: Florian Fainelli
> Date: Tue, 29 Aug 2017 14:45:30 -0700
>
>> On 08/29/2017 02:42 PM, David Miller wrote:
>>> From: Florian Fainelli
>>> Date: Tue, 29 Aug 2017 11:39:41 -0700
>>>
While trying an ARM BE kernel for kinks, the 3 drivers below
Explain that the patch queue in patchwork should not be touched by patch
submitters.
Signed-off-by: Florian Fainelli
---
Documentation/networking/netdev-FAQ.txt | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/networking/netdev-FAQ.txt
b/Documentation/networking/netdev-
From: Tariq Toukan
Date: Mon, 28 Aug 2017 16:38:19 +0300
> This patchset contains misc patches from the team
> to the mlx4 Core and Eth drivers.
>
> Patch 1 by Eran replaces large static allocations by dynamic ones.
> Patch 2 by Leon makes an explicit conversion and solves a smatch warning.
> In
From: David Ahern
Date: Fri, 25 Aug 2017 12:05:33 -0700
> Add option to set mark and priority in addition to bound device for newly
> created sockets. Also, allow the bpf programs to use the get_current_uid_gid
> helper meaning socket marks, priority and device can be set base on the
> uid/gid of
From: Florian Fainelli
Date: Tue, 29 Aug 2017 14:45:30 -0700
> On 08/29/2017 02:42 PM, David Miller wrote:
>> From: Florian Fainelli
>> Date: Tue, 29 Aug 2017 11:39:41 -0700
>>
>>> While trying an ARM BE kernel for kinks, the 3 drivers below started not
>>> working and the reasons why became pr
From: Roopa Prabhu
Date: Tue, 29 Aug 2017 13:16:57 -0700
> From: Roopa Prabhu
>
> A few useful tracepoints to trace bridge forwarding
> database updates.
>
> Signed-off-by: Roopa Prabhu
> ---
> v2: address comments from florian
> v3: remove stray character '=' in print (pointed out by florian
On 08/29/2017 02:42 PM, David Miller wrote:
> From: Florian Fainelli
> Date: Tue, 29 Aug 2017 11:39:41 -0700
>
>> While trying an ARM BE kernel for kinks, the 3 drivers below started not
>> working and the reasons why became pretty obvious because the register space
>> remains LE (hardwired), exc
From: Florian Fainelli
Date: Tue, 29 Aug 2017 11:39:41 -0700
> While trying an ARM BE kernel for kinks, the 3 drivers below started not
> working and the reasons why became pretty obvious because the register space
> remains LE (hardwired), except for Broadcom MIPS where it follows the CPU's
> na
On Tuesday 29 August 2017 01:42:08 David Miller wrote:
> From: Greg Kroah-Hartman
> Date: Sun, 27 Aug 2017 17:03:30 +0200
>
> > The IRDA code has long been obsolete and broken. So, to keep people
> > from trying to use it, and to prevent people from having to maintain it,
> > let's move it to dri
On 08/29/2017 02:15 PM, Pavel Machek wrote:
> On Tue 2017-08-29 14:26:04, Andrew Lunn wrote:
>>> But the MDIO emaulation code is from their driver, after lots of
>>> deletions.
>>
>> Is this driver supposed to run on lots of different OSs? That would
>> explain why they ignored the Linux MDIO and P
On 08/29/2017 11:04 PM, David Ahern wrote:
> On 8/29/17 12:10 AM, Arkadi Sharshevsky wrote:
>>
>>
>> On 08/28/2017 09:00 PM, David Ahern wrote:
>>> On 8/26/17 11:04 AM, Ido Schimmel wrote:
Regarding the silent abort, that's intentional. You can look at the same
code in v4.9 - when the c
1 - 100 of 299 matches
Mail list logo