From: David Howells <dhowells@redhat.com>
To: Frederik Deweerdt <deweerdt.lkml@gmail.com>
Cc: dhowells@redhat.com, netdev@vger.kernel.org
Subject: Re: [PATCH net] splice: do not checksum AF_UNIX sockets
Date: Tue, 03 Dec 2024 16:30:22 +0000 [thread overview]
Message-ID: <537172.1733243422@warthog.procyon.org.uk> (raw)
In-Reply-To: <Z0pMLtmaGPPSR3Ea@xiberoa>
Frederik Deweerdt <deweerdt.lkml@gmail.com> wrote:
> - if (skb->ip_summed == CHECKSUM_NONE)
> + if (skb->ip_summed == CHECKSUM_NONE && skb->sk->sk_family != AF_UNIX)
> skb_splice_csum_page(skb, page, off, part);
Should AF_UNIX set some other CHECKSUM_* constant indicating that the checksum
is unnecessary?
David
next prev parent reply other threads:[~2024-12-03 16:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-29 23:20 [PATCH net] splice: do not checksum AF_UNIX sockets Frederik Deweerdt
2024-11-30 1:43 ` Cong Wang
2024-11-30 4:05 ` Frederik Deweerdt
2024-11-30 12:08 ` David Laight
2024-12-03 16:30 ` David Howells [this message]
2024-12-03 21:48 ` Cong Wang
2024-12-03 22:35 ` Frederik Deweerdt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=537172.1733243422@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=deweerdt.lkml@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).