On Fri, Nov 15, 2024 at 12:46:27PM -0800, Sam Edwards wrote:
> Hi Hangbin,
>
> It took me a while to grasp but the problem seems to be a confusion
> about what it means to set a temporary's lifetimes to 0/0:
> 1) "The mngtmpaddrs has gone away; this temporary is slated for
> deletion by addrconf_v
On 19/11/2024 03:23, Sergey Ryazanov wrote:
On 15.11.2024 12:19, Antonio Quartulli wrote:
On 09/11/2024 00:31, Sergey Ryazanov wrote:
On 29.10.2024 12:47, Antonio Quartulli wrote:
+/**
+ * struct ovpn_struct - per ovpn interface state
+ * @dev: the actual netdev representing the tunnel
+ *
On Fri, Nov 15, 2024 at 12:59:27PM -0800, Sam Edwards wrote:
> Hi Hangbin,
>
> My apologies, I should have shared my version of the check function
> before. Here it is:
>
> ```bash
> # Called to validate the addresses on $IFNAME:
> #
> # 1. Every `temporary` address must have a matching `mngtmpad
Thanks for the patch.
On 11/17/24 12:12 PM, guanjing wrote:
> Lots of incorrect conversion specifiers. Fix them.
Not sure why I'd not got warnings. Just curious, how were you able
to notice these warnings?
>
> Fixes: 46fd75d4a3c9 ("selftests: mm: add pagemap ioctl tests")
> Signed-off-by: guanj
On 19/11/2024 03:05, Sergey Ryazanov wrote:
On 15.11.2024 12:05, Antonio Quartulli wrote:
On 09/11/2024 00:15, Sergey Ryazanov wrote:
On 29.10.2024 12:47, Antonio Quartulli wrote:
@@ -37,7 +41,7 @@ static int ovpn_newlink(struct net *src_net,
struct net_device *dev,
}
static struct rtnl_l
16.11.2024 04:10, Kuniyuki Iwashima пишет:
Now this allows sending pidfd without SO_PASSPIDFD, so you need to
add a validation for "if (!msg->msg_control)" in __scm_recv_common().
Will do, thanks.
Btw don't we need MSG_CTRUNC in
such case even if "msg_control"exists?
Or the established practice
16.11.2024 04:10, Kuniyuki Iwashima пишет:
Now this allows sending pidfd without SO_PASSPIDFD, so you need to
add a validation for "if (!msg->msg_control)" in __scm_recv_common().
Will do, thanks.
Btw don't we need MSG_CTRUNC in
such case even if "msg_control"exists? Or the established practice
On 19/11/2024 04:08, Sergey Ryazanov wrote:
On 15.11.2024 16:03, Antonio Quartulli wrote:
On 10/11/2024 21:42, Sergey Ryazanov wrote:
Missed the most essential note regarding this patch :)
On 29.10.2024 12:47, Antonio Quartulli wrote:
+static int ovpn_net_open(struct net_device *dev)
+{
+
Hello Stanislas,
On 11/15/24 16:32, Stanislav Fomichev wrote:
> On 11/14, Alexis Lothoré (eBPF Foundation) wrote:
>> +static unsigned long add_csum_hword(const __u16 *start, int num_u16)
>> +{
>> +unsigned long sum = 0;
>> +int i;
>> +
>> +for (i = 0; i < num_u16; i++)
>> +
On 11/15/24 16:54, Stanislav Fomichev wrote:
> On 11/14, Alexis Lothoré (eBPF Foundation) wrote:
>> +static inline __sum16 build_udp_v4_csum(const struct iphdr *iph, __u8
>> l4_proto,
>> +__u16 l4_len, const void *l4_start,
>> +
On 11/14/24 20:25, Mohan Prasad J wrote:
> +#Setup:
> +#Connect the DUT PC with NIC card to partner pc back via ethernet medium of
> your choice(RJ45, T1)
> +#
> +#DUT PC Partner PC
> +#┌───┐
> ┌─
Le Fri, Nov 15, 2024 at 11:01:25AM +0800, Mingcong Bai a écrit :
> Hi Frederic,
>
>
>
> > Just in case, Mingcong Bai can you test the following patch without the
> > revert and see if it triggers something?
> >
> > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
> > index 35949ec1f935..b4f8e
hello Mathieu,
On 11/18/24 18:52, Mathieu Poirier wrote:
> On Mon, Nov 04, 2024 at 02:35:12PM +0100, Arnaud Pouliquen wrote:
>> This patch updates the rproc_ops struct to include an optional
>> release_fw function.
>>
>> The release_fw ops is responsible for releasing the remote processor
>> firmw
Hello Lizhi Xu.
On Wed, 13 Nov 2024 17:51:29 +0800, Lizhi Xu wrote:
> syzkaller reported a corrupted list in ieee802154_if_remove. [1]
>
> Remove an IEEE 802.15.4 network interface after unregister an IEEE 802.15.4
> hardware device from the system.
>
> CPU0 CPU1
Hello:
This series was applied to netdev/net-next.git (main)
by Paolo Abeni :
On Fri, 15 Nov 2024 00:55:17 +0530 you wrote:
> The series of patches are for doing basic tests
> of NIC driver. Test comprises checks for auto-negotiation,
> speed, duplex state and throughput between local NIC and
> p
On 11/15/24 17:11, Stanislav Fomichev wrote:
> On 11/14, Alexis Lothoré (eBPF Foundation) wrote:
>> +if (!ASSERT_GE(err, 0, "do_rx"))
>> +break;
>
> You seem to be already doing similar ASSERT_GE inside the do_rx, maybe
> drop one?
True, I'll drop the inner ASSERTS
Fixes the following coccicheck:
tools/testing/selftests/bpf/test_loader.c:1033:64-69: WARNING: conversion to
bool not needed here
Fixes: 80a4129fcf20 ("selftests/bpf: Add unit tests for
bpf_arena_alloc/free_pages")
Signed-off-by: guanjing
---
tools/testing/selftests/bpf/test_loader.c | 2 +-
18.11.2024 20:54, Kuniyuki Iwashima пишет:
From: Stas Sergeev
Date: Sat, 16 Nov 2024 13:11:20 +0300
Currently SCM_PIDFD cmsg cannot be sent via unix socket
(returns -EINVAL) and SO_PASSPIDFD doesn't support flags.
The created pidfd always has flags set to 0.
This patch implements SCM_PIDFD cms
On Mon, Nov 18, 2024 at 03:07:43PM +0100, Stefano Garzarella wrote:
On Fri, Nov 15, 2024 at 4:49 PM Alexander Graf wrote:
Hi Stefano,
On 15.11.24 12:59, Stefano Garzarella wrote:
>
> On Fri, Nov 15, 2024 at 10:30:16AM +, Alexander Graf wrote:
>> Ever since the introduction of the virtio v
On 11/19/24 08:36, Shuah Khan wrote:
On 11/18/24 18:55, Kuan-Wei Chiu wrote:
Hi Shuah,
On Mon, Nov 18, 2024 at 12:19:50PM -0700, Shuah Khan wrote:
Hi Linus,
Please pull the following kunit update for Linux 6.13-rc1.
kunit update for Linux 6.13-rc1
-- fixes user-after-free (UAF) bug in kunit
On 11/19/24 10:57 AM, Sebastian Andrzej Siewior wrote:
From: Peter Zijlstra
kasan_record_aux_stack_noalloc() was introduced to record a stack trace
without allocating memory in the process. It has been added to callers
which were invoked while a raw_spinlock_t was held.
More and more callers we
In order to run the watchdog selftest in a non-interactive environment,
the loop responsible for pinging the watchdog should be finite.
Introduce a new '-c' option to adjust the number of pings as needed.
Signed-off-by: Laura Nao
---
tools/testing/selftests/watchdog/watchdog-test.c | 15
From: Peter Zijlstra
kasan_record_aux_stack_noalloc() was introduced to record a stack trace
without allocating memory in the process. It has been added to callers
which were invoked while a raw_spinlock_t was held.
More and more callers were identified and changed over time. Is it a
good thing t
On Mon, Nov 18, 2024 at 09:58:09PM +, Sami Tolvanen wrote:
> Hi,
>
> On Sat, Nov 16, 2024 at 9:09 AM Masahiro Yamada wrote:
> >
> > On Thu, Nov 14, 2024 at 2:54 AM Sami Tolvanen
> > wrote:
> > >
> > > Hi,
> > >
> > > On Mon, Nov 11, 2024 at 8:06 PM Masahiro Yamada
> > > wrote:
> > > >
> >
Hello Linus,
Please consider for pull,
The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37:
Linux 6.11-rc5 (2024-08-25 19:07:11 +1200)
are available in the Git repository at:
https://github.com/openrisc/linux.git tags/for-linus
for you to fetch changes up to 1037d1
The pull request you sent on Mon, 18 Nov 2024 10:50:47 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git
> tags/rcu.release.v6.13
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8cdf2d19038fa266806d15603d691dc2fd774858
Thank you!
--
Deet-doot-dot,
On Tue, Nov 19, 2024 at 4:57 PM Sebastian Andrzej Siewior
wrote:
>
> From: Peter Zijlstra
>
> kasan_record_aux_stack_noalloc() was introduced to record a stack trace
> without allocating memory in the process. It has been added to callers
> which were invoked while a raw_spinlock_t was held.
> Mo
Hi Darrick,
On Tue, Nov 19, 2024 at 12:48 PM Darrick J. Wong wrote:
>
> On Mon, Nov 18, 2024 at 09:58:09PM +, Sami Tolvanen wrote:
> > Hi,
> >
> > On Sat, Nov 16, 2024 at 9:09 AM Masahiro Yamada
> > wrote:
> > >
> > > On Thu, Nov 14, 2024 at 2:54 AM Sami Tolvanen
> > > wrote:
> > > >
> >
Hello Mathieu,
On 11/18/24 18:52, Mathieu Poirier wrote:
> On Mon, Nov 04, 2024 at 02:35:12PM +0100, Arnaud Pouliquen wrote:
>> This patch updates the rproc_ops struct to include an optional
>> release_fw function.
>>
>> The release_fw ops is responsible for releasing the remote processor
>> firmw
Commit a11c397c43d5 ("bpf/flow_dissector: add mode to enforce global BPF
flow dissector") is currently tested in test_flow_dissector.sh, which is
not part of test_progs. Add the corresponding test to flow_dissector.c,
which is part of test_progs. The new test reproduces the behavior
implemented in
network_helpers.h provides helpers to compute checksum for pseudo
headers but no helpers to compute the global checksums.
Before adding those, clarify csum_tcpudp_magic and csum_ipv6_magic
purpose by adding some documentation.
Signed-off-by: Alexis Lothoré (eBPF Foundation)
---
Changes in v3:
-
test_flow_dissector.sh loads flow_dissector program and subprograms,
creates and configured relevant tunnels and interfaces, and ensure that
the bpf dissection is actually performed correctly. Similar tests exist
in test_progs (thanks to flow_dissector.c) and run the same programs,
but those are on
Now that test_flow_dissector.sh has been converted to test_progs, remove
the legacy test.
Acked-by: Stanislav Fomichev
Signed-off-by: Alexis Lothoré (eBPF Foundation)
---
Changes in v3:
- none
Changes in v2:
- fetch Acked-by tag
---
tools/testing/selftests/bpf/.gitignore | 1 -
t
The flow dissector test currently relies on generic CHECK macros to
perform tests. Update those to newer, more-specific ASSERT macros.
This update allows to get rid of the global duration variable, which was
needed by the CHECK macros
Acked-by: Stanislav Fomichev
Signed-off-by: Alexis Lothoré (e
The flow_dissector runs plenty of tests over diffent kind of packets,
grouped into three categories: skb mode, non-skb mode with direct
attach, and non-skb with indirect attach.
Re-split the main function into dedicated tests. Each test now must have
its own setup/teardown, but for the advantage o
We sometimes need to compare whole structures in an assert. It is
possible to use the existing macros on each field, but when the whole
structure has to be checked, it is more convenient to simply compare the
whole structure memory
Add a dedicated assert macro, ASSERT_MEMEQ, to allow bare memory
c
Hello,
this is the revision 3 of test_flow_dissector_migration.sh into
test_progs. This revision addresses comments from Stanislas, especially
about proper reuse of pseudo-header checksuming in new network helpers.
There are 2 "main" parts in test_flow_dissector.sh:
- a set of tests checking flow_
The flow_dissector program currently compares flow keys returned by bpf
program with the expected one thanks to a custom macro using memcmp.
Use the new ASSERT_MEMEQ macro to perform this comparision. This update
also allows to get rid of the unused bpf_test_run_opts variable in
run_tests_skb_less
The bpf_flow program is able to handle GRE headers in IP packets. Add a
few test data input simulating those GRE packets, with 2 different
cases:
- parse GRE and the encapsulated packet
- parse GRE only
Acked-by: Stanislav Fomichev
Signed-off-by: Alexis Lothoré (eBPF Foundation)
---
Changes in v
The flow_dissector test integrated in test_progs actually runs a wide
matrix of tests over different packets types and bpf programs modes, but
exposes only 3 main tests, preventing tests users from running specific
subtests with a specific input only.
Expose all subtests executed by flow_dissector
Trying to add udp-dedicated helpers in network_helpers involves
including some udp header, which makes multiple test_progs tests build
fail:
In file included from ./progs/test_cls_redirect.h:13,
from [...]/prog_tests/cls_redirect.c:15:
[...]/usr/include/linux/udp.h:23:8: error: re
network_helpers.c provides some helpers to generate ip checksums or ip
pseudo-header checksums, but not for upper layers (eg: udp checksums)
Add helpers for udp checksum to allow manually building udp packets.
Signed-off-by: Alexis Lothoré (eBPF Foundation)
---
Changes in v3:
- reuse pseudo-head
Enable CONFIG_NET_ACT_GACT to allow adding simple actions with tc
filters. This is for example needed to migrate test_flow_dissector into
the automated testing performed in CI.
Acked-by: Stanislav Fomichev
Signed-off-by: Alexis Lothoré (eBPF Foundation)
---
Changes in v3:
- none
Changes in v2:
-
xdp_metadata test has a small helper computing ipv4 checksums to allow
manually building packets.
Move this helper to network_helpers to share it with other tests.
Signed-off-by: Alexis Lothoré (eBPF Foundation)
---
Changes in v3:
- use csum_partial for intermediate helper name to keep sync with
Updated the driver to utilize all the MSI-X interrupt vectors supported
by each OCTEON endpoint VF, instead of relying on a single vector.
Enabling more interrupts allows packets from multiple rings to be
distributed across multiple cores, improving parallelism and
performance.
Signed-off-by: Shij
Added support to read the vendor-specific PCI capability to identify the
type of device being emulated.
Signed-off-by: Shijith Thotton
---
drivers/vdpa/octeon_ep/octep_vdpa.h | 24 +
drivers/vdpa/octeon_ep/octep_vdpa_hw.c | 34 +++-
drivers/vdpa/octeon_
From: Satha Rao
The first interrupt of the device is used to notify the host about
device configuration changes, such as link status updates. The ISR
configuration area is updated to indicate a config change event when
triggered.
Signed-off-by: Satha Rao
Signed-off-by: Shijith Thotton
---
dri
Introduced an interrupt handler for the virtio crypto device, as its
queue usage differs from that of network devices. While virtio network
device receives packets only on even-indexed queues, virtio crypto
device utilize all available queues for processing data.
Signed-off-by: Shijith Thotton
--
Hi Petr,
在 2024/11/18 20:54, Petr Pavlu 写道:
On 11/13/24 03:15, Song Chen wrote:
在 2024/11/12 20:56, Petr Pavlu 写道:
On 11/10/24 12:42, Song Chen wrote:
Sometimes when kernel calls request_module to load a module
into kernel space, it doesn't pass the module name appropriately,
and request_modu
On Wed, Nov 20, 2024 at 12:34:51PM +0530, Shijith Thotton wrote:
> From: Satha Rao
>
> The first interrupt of the device is used to notify the host about
> device configuration changes, such as link status updates. The ISR
> configuration area is updated to indicate a config change event when
> t
From: zhang jiao
There is no need to define a local variable 'page',
just use outer variable 'page'.
Signed-off-by: zhang jiao
---
drivers/virtio/virtio_balloon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon
This commit renames the alias symbol, __moddevice_table
to __mod_device_table.
This change simplifies the code slightly, as there is no longer a need
to check both the prefix and suffix.
Signed-off-by: Masahiro Yamada
---
include/linux/module.h | 2 +-
scripts/mod/file2alias.c | 17
This series is a follow-up to v1[1], aimed at making the watchdog selftest
more suitable for CI environments. Currently, in non-interactive setups,
the watchdog kselftest can only run with oneshot parameters, preventing the
testing of the WDIOC_KEEPALIVE ioctl since the ping loop is only
interrupte
Conform the test output to the KTAP format standard. The number of tests
executed is determined by the script arguments, and options such as
-c, -f, -h, -i, and -p do not impact the total test count.
Signed-off-by: Laura Nao
---
.../selftests/watchdog/watchdog-test.c| 158 ++-
On Tue, 19 Nov 2024 at 16:57, Sebastian Andrzej Siewior
wrote:
>
> From: Peter Zijlstra
The patch title is misleading - it might suggest the opposite of what
it's doing. I think this might be clearer:
"kasan: Make kasan_record_aux_stack_noalloc() the default behaviour"
Which is also more or le
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni :
On Tue, 19 Nov 2024 11:30:11 +0800 you wrote:
> page_frag test module is an out of tree module, but built
> using KDIR as the main kernel tree, the mm test suite is
> just getting skipped if newly added page_frag test mo
On Sat, 16 Nov 2024 12:40:04 +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio
>
> SC8180X PAS bindings are plain wrong, resulting in false-positive
> dt checker errors. SC8180X's remoteprocs happen to be identical to
> SM8150's from the kernel point of view, so reuse that binding instead.
>
>
On 15/11/2024 15:28, Antonio Quartulli wrote:
[...]
+}
+
+static struct ovpn_socket *ovpn_socket_get(struct socket *sock)
+{
+ struct ovpn_socket *ovpn_sock;
+
+ rcu_read_lock();
+ ovpn_sock = rcu_dereference_sk_user_data(sock->sk);
+ if (!ovpn_socket_hold(ovpn_sock)) {
+ pr_wa
On 11/19/24 04:30, Yunsheng Lin wrote:
> page_frag test module is an out of tree module, but built
> using KDIR as the main kernel tree, the mm test suite is
> just getting skipped if newly added page_frag test module
> fails to compile due to kernel not yet compiled.
>
> Fix the above problem by
On 11/18/24 18:55, Kuan-Wei Chiu wrote:
Hi Shuah,
On Mon, Nov 18, 2024 at 12:19:50PM -0700, Shuah Khan wrote:
Hi Linus,
Please pull the following kunit update for Linux 6.13-rc1.
kunit update for Linux 6.13-rc1
-- fixes user-after-free (UAF) bug in kunit_init_suite()
-- adds option to kunit
60 matches
Mail list logo