Thread (35 messages) 35 messages, 6 authors, 6d ago

Re: [PATCH net v3 6/8] net: add a sysctl to opt out of virtio net hdr checksum validation

flat view

From: Michael S. Tsirkin <mst@redhat.com>
Date: 2026-10-20 23:20:40
Also in: linux-doc, lkml, virtualization

On Tue, Oct 20, 2026 at 07:13:42PM -0400, Willem de Bruijn wrote:
Michael S. Tsirkin wrote:
quoted
On Tue, Oct 20, 2026 at 03:54:23PM -0400, Willem de Bruijn wrote:
quoted
quoted
+/*
+ * Protects changes to virtio_net_hdr_csum_check_disabled_key and each
+ * net->core.sysctl_virtio_net_hdr_csum_check. Readers don't use a lock.
it appears that they take the mutex_lock below
Some of them? But
virtio_net_hdr_csum_check_disabled doesn't, that's the point, right?
Yes, but the statement is then too absolute:
_some_ (or most) readers don't use a lock.
don't use->don't need?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help