On 2021-01-08 11:59 PM, Marcelo Ricardo Leitner wrote:
Hi,
On Thu, Jan 07, 2021 at 09:30:48PM -0800, Saeed Mahameed wrote:
@@ -1429,6 +1600,14 @@ mlx5_tc_ct_add_ft_cb(struct mlx5_tc_ct_priv *ct_priv,
u16 zone,
if (err)
goto err_insert;
+ nf_ct_zone_init(&ctzone, z
On 2021-01-10 9:45 AM, Roi Dayan wrote:
On 2021-01-08 11:48 PM, Marcelo Ricardo Leitner wrote:
Hi,
On Thu, Jan 07, 2021 at 09:30:47PM -0800, Saeed Mahameed wrote:
From: Roi Dayan
Connection tracking associates the connection state per packet. The
first packet of a connection is assigned
On 2021-01-08 11:48 PM, Marcelo Ricardo Leitner wrote:
Hi,
On Thu, Jan 07, 2021 at 09:30:47PM -0800, Saeed Mahameed wrote:
From: Roi Dayan
Connection tracking associates the connection state per packet. The
first packet of a connection is assigned with the +trk+new state. The
connection en
Since moving get_rate() and get_size() from tc to lib, on some
systems we fail to link because of missing math lib.
Move the functions that require math lib to their own c file
and add -lm to dcb that now use those functions.
../lib/libutil.a(utils.o): In function `get_rate':
utils.c:(.text+0x10dc
Hello,
syzbot found the following issue on:
HEAD commit:f6e7a024 Merge tag 'arc-5.11-rc3' of git://git.kernel.org/..
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=135c95fb50
kernel config: https://syzkaller.appspot.com/x/.config?x=8aa30b9da402d224
das
Empty BTFs do come up (e.g., simple kernel modules with no new types and
strings, compared to the vmlinux BTF) and there is nothing technically wrong
with them. So remove unnecessary check preventing loading empty BTFs.
Reported-by: Christopher William Snowhill
Fixes: ("d8123624506c libbpf: Fix B
Some modules don't declare any new types and end up with an empty BTF,
containing only valid BTF header and no types or strings sections. This
currently causes BTF validation error. There is nothing wrong with such BTF,
so fix the issue by allowing module BTFs with no types or strings.
Reported-by
Following patch add support for flow based tunneling API
to send and recv GTP tunnel packet over tunnel metadata API.
This would allow this device integration with OVS or eBPF using
flow based tunneling APIs.
Signed-off-by: Pravin B Shelar
---
v4-v5:
- coding style changes
v3-v4:
- add check for
On Tue, 5 Jan 2021 16:15:16 +0100 Geert Uytterhoeven wrote:
> The merge resolution of the interaction of commits 307eea32b202864c
> ("dt-bindings: net: renesas,ravb: Add support for r8a774e1 SoC") and
> d7adf6331189cbe9 ("dt-bindings: net: renesas,etheravb: Convert to
> json-schema") missed that "
On Thu, 7 Jan 2021 23:12:34 -0800 Sukadev Bhattiprolu wrote:
> Use a separate lock to serialze ibmvnic_reset() and ibmvnic_remove()
> functions. ibmvnic_reset() schedules work for the worker thread and
> ibmvnic_remove() flushes the work before removing the adapter. We
> don't want any work to be
On Thu, 7 Jan 2021 23:12:31 -0800 Sukadev Bhattiprolu wrote:
> The reset functions need just the 'reset reason' parameter and not
> the ibmvnic_rwi list element. Update the functions so we can simplify
> the handling of the ->rwi_list in a follow-on patch.
>
> Fixes: 2770a7984db5 ("ibmvnic: Intro
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Wed, 6 Jan 2021 22:32:00 +0100 you wrote:
> From: Rafał Miłecki
>
> This helps validating DTS files. Only the current (not deprecated one)
> binding was converted.
>
> Minor changes:
> 1. Dropped dsa/dsa.txt referen
On Tue, 5 Jan 2021 20:45:05 -0800 Pravin B Shelar wrote:
> @@ -477,40 +572,99 @@ static int gtp_build_skb_ip4(struct sk_buff *skb,
> struct net_device *dev,
>struct gtp_pktinfo *pktinfo)
> {
> struct gtp_dev *gtp = netdev_priv(dev);
> + struct gtpu_metadata
On Wed, 6 Jan 2021 22:32:00 +0100 Rafał Miłecki wrote:
> From: Rafał Miłecki
>
> This helps validating DTS files. Only the current (not deprecated one)
> binding was converted.
>
> Minor changes:
> 1. Dropped dsa/dsa.txt references
> 2. Updated node name to match dsa.yaml requirement
> 3. Fixed
On Tue, 5 Jan 2021 16:47:48 +0100 Sebastien Laveze (OSS) wrote:
> From: Seb Laveze
>
> The priority field is not the queue priority (queue priority is fixed)
> but a bitmask of priorities assigned to this queue.
>
> In receive, priorities relate to tagged frames priorities.
>
> In transmit, pr
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Fri, 8 Jan 2021 16:47:54 -0800 you wrote:
> Here are some patches we've merged in the MPTCP tree that are ready for
> net-next.
>
> Patches 1 and 2 rework the assignment of local address IDs to allow them
> to be assi
On Fri, 8 Jan 2021 13:24:16 +0100 Heiner Kallweit wrote:
> RTL8168dp is ancient anyway, and I haven't seen any trace of its early
> version 27 yet. This chip versions needs quite some special handling,
> therefore it would facilitate driver maintenance if support for it
> could be dropped. For now
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Fri, 8 Jan 2021 12:55:32 +0100 you wrote:
> This series includes a number of smaller improvements.
>
> v2:
> - return on WARN in patch 1
>
> Heiner Kallweit (3):
> r8169: replace BUG_ON with WARN in _rtl_eri_write
>
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sat, 9 Jan 2021 01:30:54 +0200 you wrote:
> From: Vladimir Oltean
>
> Introduced in commit 37b8da1a3c68 ("net: dsa: Move FDB add/del
> implementation inside DSA") in net/dsa/legacy.c, these functions were
> moved agai
On Fri, 8 Jan 2021 19:59:48 +0200 Vladimir Oltean wrote:
> From: Vladimir Oltean
>
> Add devlink integration into the mscc_ocelot switchdev driver. Only the
> probed interfaces are registered with devlink, because for convenience,
> struct devlink_port was included into struct ocelot_port_privat
On Fri, 8 Jan 2021 19:59:48 +0200 Vladimir Oltean wrote:
> From: Vladimir Oltean
>
> Add devlink integration into the mscc_ocelot switchdev driver. Only the
> probed interfaces are registered with devlink, because for convenience,
> struct devlink_port was included into struct ocelot_port_privat
On Fri, 8 Jan 2021 19:59:44 +0200 Vladimir Oltean wrote:
> From: Vladimir Oltean
>
> The devlink function pointer names are super long, and they would break
> the alignment. So reindent the existing ops now by adding one tab.
Therefore it'd be tempting to prefix them with dl_ rather than full
d
On 1/9/2021 12:34 PM, Vladimir Oltean wrote:
> From: Vladimir Oltean
>
> The code that sets the DMA mask to 64 bits is bogus, it is taken from
> the enetc driver together with the rest of the PCI probing boilerplate.
>
> Since this patch is touching the error path to delete err_dma, let's
> a
On Fri, 8 Jan 2021 19:59:42 +0200 Vladimir Oltean wrote:
> + *inuse = (val & GENMASK(23, 12)) >> 12;
FWIW FIELD_GET()
On Fri, 8 Jan 2021 21:21:13 +0800 wangyunjian wrote:
> From: Yunjian Wang
>
> There is a potential execution path in which variable err is
> returned without being properly initialized previously. Fix
> this by initializing variable err to 0.
>
> Addresses-Coverity: ("Uninitialized scalar variab
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Fri, 8 Jan 2021 11:07:21 +0200 you wrote:
> The first two patches of this series extends the MAC statistics support
> to also work for network interfaces which have their link status handled
> by firmware (TYPE_FIXED).
Hello:
This series was applied to netdev/net.git (refs/heads/master):
On Fri, 8 Jan 2021 16:52:08 +0200 you wrote:
> From: Ido Schimmel
>
> This series includes two fixes for thermal control in mlxsw.
>
> Patch #1 validates that the alarm temperature threshold read from a
> transceiver is abo
From: David Ahern
Later patch adds support for switching network namespaces before
running client, server or both. Device validations need to be
done after the network namespace switch, so add a helper to do it
and invoke in server and client code versus inline with argument
parsing. Move related
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Fri, 8 Jan 2021 14:13:37 +0700 you wrote:
> From: Hoang Le
>
> The buffer list can have zero skb as following path:
> tipc_named_node_up()->tipc_node_xmit()->tipc_link_xmit(), so
> we need to check the list before casting
From: David Ahern
When a single instance of nettest is used for client and server
make sure address validation is only done for client mode.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tools/testing/selftests/ne
From: David Ahern
When a single instance of nettest is doing both client and
server modes, stdout and stderr messages can get interlaced
and become unreadable. Allocate a new set of buffers for the
child process handling server mode.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/n
From: David Ahern
Add new option to nettest to specify MD5 password to use for client
side. Update fcnal-test script. This is needed for a single instance
running both server and client modes to test password mismatches.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/fcnal-test.sh
From: David Ahern
Add new options to nettest to specify device binding and expected
device binding for server mode, and update fcnal-test script. This
is needed to allow a single instance of nettest running both server
and client modes to use different device bindings.
Signed-off-by: David Ahern
From: David Ahern
Add option to nettest to run both client and server within a
single instance. Client forks a child process to run the server
code. A pipe is used for the server to tell the client it has
initialized and is ready or had an error. This avoid unnecessary
sleeps to handle such race
From: David Ahern
nettest started with -r as the remote address for MD5 passwords.
The -m argument was added to use prefixes with a length when that
feature was added to the kernel. Since -r is used to specify
remote address for client mode, change nettest to only use -m
for MD5 passwords and upd
From: David Ahern
A few logging lines are missing the newline, or need it moved up for
cleaner logging.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/tools/testing/selftests/net/nettest.c
From: David Ahern
IPv6 addresses can have a device name to declare a scope (e.g.,
fe80::5054:ff:fe12:3456%eth0). The next patch adds support to
switch network namespace before running client or server code
(or both), so move the address validation to the server and
client functions.
IPv4 multica
Update nettest to handle namespace change internally to allow a
single instance to run both client and server modes. Device validation
needs to be moved after the namespace change and a few run time
options need to be split to allow values for client and server.
David Ahern (11):
selftests: Move
From: David Ahern
Add options to specify server and client network namespace to
use before running respective functions.
Signed-off-by: Seth David Schoen
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 56 ++-
1 file changed, 55 insertions(+), 1
From: David Ahern
convert_addr needs to be invoked in a different location. Move
the code up to avoid a forward declaration.
Code move only.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 252 +-
1 file changed, 126 insertions(+), 126 deletions(
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Fri, 8 Jan 2021 03:39:01 -0800 you wrote:
> From: Eric Dumazet
>
> GRO_DROP has no practical use and can be removed,
> once ice driver is cleaned up.
>
> This removes one useless conditionel test in napi_gro_frags()
On Saturday 09 January 2021 23:19:54 Russell King - ARM Linux admin wrote:
> On Sat, Jan 09, 2021 at 08:14:47PM +0100, Pali Rohár wrote:
> > On Saturday 09 January 2021 15:46:01 Russell King - ARM Linux admin wrote:
> > > On Thu, Jan 07, 2021 at 05:54:28PM +0100, Andrew Lunn wrote:
> > > > On Wed,
On Sat, Jan 09, 2021 at 08:14:47PM +0100, Pali Rohár wrote:
> On Saturday 09 January 2021 15:46:01 Russell King - ARM Linux admin wrote:
> > On Thu, Jan 07, 2021 at 05:54:28PM +0100, Andrew Lunn wrote:
> > > On Wed, Jan 06, 2021 at 04:37:48PM +0100, Pali Rohár wrote:
> > > > From: Russell King
> >
On Sat, 9 Jan 2021 16:12:22 -0700 David Ahern wrote:
> On 1/9/21 4:04 PM, Jakub Kicinski wrote:
> > Do you want to address the checkpatch issues, tho?
>
> Yes, I thought I had fixed those. Evidently missed a few.
Thanks, I'm never sure if people intentionally use different style
rules in selfte
On 1/9/21 4:04 PM, Jakub Kicinski wrote:
> Do you want to address the checkpatch issues, tho?
Yes, I thought I had fixed those. Evidently missed a few.
On Sat, 9 Jan 2021 11:02:02 -0800 Jakub Kicinski wrote:
> On Sat, 9 Jan 2021 11:55:39 -0700 David Ahern wrote:
> > On 1/9/21 11:53 AM, David Ahern wrote:
> > > Update nettest to handle namespace change internally to allow a
> > > single instance to run both client and server modes. Device validat
Instead of open-coding unaligned access let's use the predefined
unaligned access helpers.
Signed-off-by: Heiner Kallweit
---
drivers/net/ethernet/realtek/r8169_main.c | 35 +--
1 file changed, 13 insertions(+), 22 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169
On Sat, 09 Jan 2021 10:39:27 +0100 Leon Schuermann wrote:
> Jakub Kicinski writes:
> > On Fri, 8 Jan 2021 21:27:27 +0100 Leon Schuermann wrote:
> >> This USB-C Hub (17ef:721e) based on the Realtek RTL8153B chip used to
> >> work with the cdc_ether driver.
> >
> > When you say "used to work" d
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Sat, 9 Jan 2021 00:37:45 +0300 you wrote:
> TLS selftests where broken because of wrong variable types used.
> Fix it by changing u16 -> uint16_t
>
> Fixes: 4f336e88a870 ("selftests/tls: add CHACHA20-POLY1305 to tls selftes
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 7 Jan 2021 15:50:18 +0200 you wrote:
> There are cases where GSO segment's length exceeds the egress MTU:
> - Forwarding of a TCP GRO skb, when DF flag is not set.
> - Forwarding of an skb that arrived on a virtualisa
From: Willem de Bruijn
Skb frags may be backed by highmem and/or compound pages. Highmem
pages need kmap_atomic mappings to access. But kmap_atomic maps a
single page, not the entire compound page.
skb_foreach_page iterates over an skb frag, in one step in the common
case, page by page only if k
From: Willem de Bruijn
esp(6)_output_head uses skb_page_frag_refill to allocate a buffer for
the esp trailer.
It accesses the page with kmap_atomic to handle highmem. But
skb_page_frag_refill can return compound pages, of which
kmap_atomic only maps the first underlying page.
skb_page_frag_refi
From: Willem de Bruijn
skb_seq_read iterates over an skb, returning pointer and length of
the next data range with each call.
It relies on kmap_atomic to access highmem pages when needed.
An skb frag may be backed by a compound page, but kmap_atomic maps
only a single page. There are not enough
From: Willem de Bruijn
skb frags may be backed by highmem and/or compound pages. Various
code calls kmap_atomic to safely access highmem pages. But this
needs additional care for compound pages. Fix a few issues:
patch 1 expect kmap mappings with CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
patch 2 fixes k
On Fri, Jan 8, 2021 at 12:11 PM Willem de Bruijn
wrote:
>
> From: Willem de Bruijn
>
> skb_seq_read iterates over an skb, returning pointer and length of
> the next data range with each call.
>
> It relies on kmap_atomic to access highmem pages when needed.
>
> An skb frag may be backed by a comp
On Thu, 7 Jan 2021 15:36:45 +0100 Andrew Lunn wrote:
> > +static void ar9331_get_stats64(struct dsa_switch *ds, int port,
> > + struct rtnl_link_stats64 *s)
> > +{
> > + struct ar9331_sw_priv *priv = (struct ar9331_sw_priv *)ds->priv;
> > + struct ar9331_sw_port *p = &p
So far we don't increase the max read request size if we switch to
jumbo mode before bringing up the interface for the first time.
Let's change this.
Signed-off-by: Heiner Kallweit
---
drivers/net/ethernet/realtek/r8169_main.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff
Align behavior with r8168 vendor driver and don't reduce max read
request size for RTL8168e in jumbo mode.
Signed-off-by: Heiner Kallweit
---
drivers/net/ethernet/realtek/r8169_main.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169_mai
Small improvements to jumbo configuration.
Heiner Kallweit (2):
r8169: align RTL8168e jumbo pcie read request size with vendor driver
r8169: tweak max read request size for newer chips also in jumbo mtu
mode
drivers/net/ethernet/realtek/r8169_main.c | 15 +++
1 file changed,
On Thu, 7 Jan 2021 20:03:49 -0800 Randy Dunlap wrote:
> On 1/7/21 6:53 PM, menglong8.d...@gmail.com wrote:
> > From: Menglong Dong
> >
> > Some typos are found out by codespell tool:
> >
> > $ codespell ./net/bridge/
> > ./net/bridge/br_stp.c:604: permanant ==> permanent
> > ./net/bridge/br_stp
On Thu, 7 Jan 2021 17:34:00 -0600 Alex Elder wrote:
> This series adds the IPA driver as a possible target when
> the COMPILE_TEST configuration is enabled. Two small changes to
> dependent subsystems needed to be made for this to work.
>
> Version 2 of this series adds one more patch, which add
On Thu, 7 Jan 2021 02:15:20 -0800 Manish Chopra wrote:
> For all PCI functions on the netxen_nic adapter, interrupt
> mode (INTx or MSI) configuration is dependent on what has
> been configured by the PCI function zero in the shared
> interrupt register, as these adapters do not support mixed
> mod
Still one more change needed for 5gabe-r to work.
I am going to sent fix 5gbase-r and send this patches myself. I will
leave Pavana as the author.
Marek
This commit adds a new multicast group to the netlink api for wireguard.
The purpose of this multicast group is to notify userspace when the
peers of an interface change. Right now this is only done when the
endpoint is changed by whatever means.
An example for an consumer of this API would be a s
On Fri, Jan 08, 2021 at 11:07:24AM +0200, Ioana Ciornei wrote:
> From: Ioana Ciornei
>
> The fsl_mc_get_endpoint() should return a pointer to the connected
> fsl_mc device, if there is one. By interrogating the MC firmware, we
> know if there is an endpoint or not so when the endpoint device is
>
On Fri, Jan 08, 2021 at 11:07:25AM +0200, Ioana Ciornei wrote:
> From: Ioana Ciornei
>
> The fsl_mc_get_endpoint() function now returns -EPROBE_DEFER when the
> dpmac device was not yet discovered by the fsl-mc bus. When this
> happens, pass the error code up so that we can retry the probe at a
>
On Thu, 7 Jan 2021 10:47:34 +0800 Jiapeng Zhong wrote:
> The print format of this parameter does not match, because it is defined
> as int type, so modify the matching format of this parameter to %d format.
>
> Signed-off-by: Jiapeng Zhong
> Reported-by: Abaci
> ---
> net/ipv6/proc.c | 2 +-
>
Hello,
syzbot found the following issue on:
HEAD commit:6207214a Merge tag 'afs-fixes-04012021' of git://git.kerne..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=146967c0d0
kernel config: https://syzkaller.appspot.com/x/.config?x=8aa30b9da402d224
das
On Thu, 07 Jan 2021 00:15:24 +0100 Igor Raits wrote:
> I've been trying out the latest CentOS 8 Stream kernel and found that I
> get kernel panic (https://bugzilla.redhat.com/show_bug.cgi?id=1913481)
> when trying to reboot the server. With debug kernel I've got following:
>
> [ 531.818434]
> ===
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 6 Jan 2021 15:35:14 -0600 you wrote:
> Commit b27507bb59ed ("net/ibmvnic: unlock rtnl_lock in reset so
> linkwatch_event can run") introduced do_change_param_reset function to
> solve the rtnl lock issue. Majority
From: Vladimir Oltean
The code that sets the DMA mask to 64 bits is bogus, it is taken from
the enetc driver together with the rest of the PCI probing boilerplate.
Since this patch is touching the error path to delete err_dma, let's
also change the err_alloc_felix label which was incorrect. The
Hello,
syzbot found the following issue on:
HEAD commit:f6e7a024 Merge tag 'arc-5.11-rc3' of git://git.kernel.org/..
git tree: net
console output: https://syzkaller.appspot.com/x/log.txt?x=16f6472b50
kernel config: https://syzkaller.appspot.com/x/.config?x=8aa30b9da402d224
dashboar
On 1/9/21 11:48 AM, Andrew Lunn wrote:
> On Sat, Jan 09, 2021 at 10:17:38AM +0100, Zhi Han wrote:
>> Thanks a lot for the .config file.
>> I also tested it, with mdio-bus.o in the Makefile, glad to got that there is
>> no problem of that, although I don't know the reason/trick yet.
>
> I'm not 100
On Sat, Jan 09, 2021 at 10:17:38AM +0100, Zhi Han wrote:
> Thanks a lot for the .config file.
> I also tested it, with mdio-bus.o in the Makefile, glad to got that there is
> no problem of that, although I don't know the reason/trick yet.
I'm not 100% sure, but i think:
obj-$(CONFIG_MDIO_DEVICE)
On Saturday 09 January 2021 15:46:01 Russell King - ARM Linux admin wrote:
> On Thu, Jan 07, 2021 at 05:54:28PM +0100, Andrew Lunn wrote:
> > On Wed, Jan 06, 2021 at 04:37:48PM +0100, Pali Rohár wrote:
> > > From: Russell King
> > >
> > > Some GPON SFP modules (e.g. Ubiquiti U-Fiber Instant) have
On Sat, 9 Jan 2021 11:55:39 -0700 David Ahern wrote:
> On 1/9/21 11:53 AM, David Ahern wrote:
> > Update nettest to handle namespace change internally to allow a
> > single instance to run both client and server modes. Device validation
> > needs to be moved after the namespace change and a few run
From: David Ahern
Add option to nettest to run both client and server within a
single instance. Client forks a child process to run the server
code. A pipe is used for the server to tell the client it has
initialized and is ready or had an error. This avoid unnecessary
sleeps to handle such race
From: David Ahern
convert_addr needs to be invoked in a different location. Move
the code up to avoid a forward declaration.
Code move only.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 252 +-
1 file changed, 126 insertions(+), 126 deletions(
From: David Ahern
IPv6 addresses can have a device name to declare a scope (e.g.,
fe80::5054:ff:fe12:3456%eth0). The next patch adds support to
switch network namespace before running client or server code
(or both), so move the address validation to the server and
client functions.
IPv4 multica
On 1/9/21 11:53 AM, David Ahern wrote:
> Update nettest to handle namespace change internally to allow a
> single instance to run both client and server modes. Device validation
> needs to be moved after the namespace change and a few run time
> options need to be split to allow values for client a
From: David Ahern
Later patch adds support for switching network namespaces before
running client, server or both. Device validations need to be
done after the network namespace switch, so add a helper to do it
and invoke in server and client code versus inline with argument
parsing. Move related
From: David Ahern
Add options to specify server and client network namespace to
use before running respective functions.
Signed-off-by: Seth David Schoen
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 56 ++-
1 file changed, 55 insertions(+), 1
From: David Ahern
nettest started with -r as the remote address for MD5 passwords.
The -m argument was added to use prefixes with a length when that
feature was added to the kernel. Since -r is used to specify
remote address for client mode, change nettest to only use -m
for MD5 passwords and upd
From: David Ahern
Add new option to nettest to specify MD5 password to use for client
side. Update fcnal-test script. This is needed for a single instance
running both server and client modes to test password mismatches.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/fcnal-test.sh
From: David Ahern
When a single instance of nettest is doing both client and
server modes, stdout and stderr messages can get interlaced
and become unreadable. Allocate a new set of buffers for the
child process handling server mode.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/n
From: David Ahern
Add new options to nettest to specify device binding and expected
device binding for server mode, and update fcnal-test script. This
is needed to allow a single instance of nettest running both server
and client modes to use different device bindings.
Signed-off-by: David Ahern
From: David Ahern
A few logging lines are missing the newline, or need it moved up for
cleaner logging.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/tools/testing/selftests/net/nettest.c
From: David Ahern
When a single instance of nettest is used for client and server
make sure address validation is only done for client mode.
Signed-off-by: David Ahern
---
tools/testing/selftests/net/nettest.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tools/testing/selftests/ne
Update nettest to handle namespace change internally to allow a
single instance to run both client and server modes. Device validation
needs to be moved after the namespace change and a few run time
options need to be split to allow values for client and server.
David Ahern (11):
selftests: Move
Hello,
syzbot found the following issue on:
HEAD commit:36bbbd0e Merge branch 'rcu/urgent' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16ef4dfb50
kernel config: https://syzkaller.appspot.com/x/.config?x=b991a69440391446
das
From: Vladimir Oltean
There is an effort to convert .ndo_get_stats64 to sleepable context, and
for that to work, we need to prevent callers of dev_get_stats from using
atomic locking.
The OVS vport driver calls ovs_vport_get_stats from
ovs_vport_cmd_fill_info, a function with 7 callers: 5 under
From: Vladimir Oltean
Some drivers need to do special tricks to comply with the new policy of
ndo_get_stats64 being sleepable. For example, the bonding driver, which
derives its stats from its lower interfaces, must recurse with
dev_get_stats into its lowers with no locks held. But for that to wo
From: Vladimir Oltean
There is a movement to eliminate the usage of dev_base_lock, which
exists since as far as I could track the kernel history down (the
"7a2deb329241 Import changeset" commit from the bitkeeper branch).
The dev_base_lock approach has multiple issues:
- It is global and not per
From: Vladimir Oltean
Now that all callers have been converted to not use atomic context when
calling dev_get_stats, it is time to update the documentation and put a
notice in the function that it expects process context.
Signed-off-by: Vladimir Oltean
---
Changes in v6:
Rebase on top of Jakub'
From: Vladimir Oltean
dev_get_stats can now return error codes. Convert all remaining call
sites to look at that error code and stop processing.
The effects of simulating a kernel error (returning -ENOMEM) upon
existing programs or kernel interfaces:
- ifconfig and "cat /proc/net/dev" print up
From: Vladimir Oltean
The FCoE callback for the Link Error Status Block retrieves the FCS
error count using dev_get_stats. This function can now return errors.
Propagate these all the way to the sysfs device attributes.
Signed-off-by: Vladimir Oltean
---
Changes in v6:
None.
Changes in v5:
Non
From: Vladimir Oltean
There is an effort to convert .ndo_get_stats64 to sleepable context, and
for that to work, we need to prevent callers of dev_get_stats from using
atomic locking.
The bonding driver retrieves its statistics recursively from its lower
interfaces, with additional care to only
From: Vladimir Oltean
The failover framework sets up a virtio_net interface [ when it has the
VIRTIO_NET_F_STANDBY feature ] and a VF interface, having the same MAC
address, in a standby/active relationship. When the active VF is
unplugged, the standby virtio_net temporarily kicks in.
The failov
From: Vladimir Oltean
The dev_get_stats function can now return an error code, so the code
that retrieves vport statistics and sends them through netlink needs to
propagate that error code.
Modify the drastic BUG_ON checks to operate only on the -EMSGSIZE error
code (the only error code previous
From: Vladimir Oltean
After commit 28172739f0a2 ("net: fix 64 bit counters on 32 bit arches"),
dev_get_stats got an additional argument for storage of statistics. At
this point, dev_get_stats could return either the passed "storage"
argument, or the output of .ndo_get_stats64.
Then commit caf586
1 - 100 of 115 matches
Mail list logo