Date: Thu, 06 Aug 2026 09:05:33 +0000 From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Timo =?utf-8?Q?V=C3=B6lker?= <timo.voelker@fh-muenster.de> Subject: git: a2d2f7a97074 - stable/15 - loopback: use new names for checksum offloading flags Message-ID: <6a744e5d.1878b.a40deaf@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=a2d2f7a97074fe72c165e792d0590afcac64d7f3 commit a2d2f7a97074fe72c165e792d0590afcac64d7f3 Author: Timo Völker <timo.voelker@fh-muenster.de> AuthorDate: 2026-06-29 20:03:46 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2026-08-06 09:04:24 +0000 loopback: use new names for checksum offloading flags No functional change intended. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D57945 (cherry picked from commit bcf4e3c001f5ec9cc206b0d81f0954559d1424d8) --- sys/net/if_loop.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 1951720a6ae8..b86ad22a98a1 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -81,12 +81,11 @@ #define LOMTU 16384 #endif -#define LO_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_SCTP) -#define LO_CSUM_FEATURES6 (CSUM_TCP_IPV6 | CSUM_UDP_IPV6 | CSUM_SCTP_IPV6) -#define LO_CSUM_SET (CSUM_DATA_VALID | CSUM_DATA_VALID_IPV6 | \ - CSUM_PSEUDO_HDR | \ - CSUM_IP_CHECKED | CSUM_IP_VALID | \ - CSUM_SCTP_VALID) +#define LO_CSUM_FEATURES (CSUM_IP | CSUM_IP_TCP | CSUM_IP_UDP | \ + CSUM_IP_SCTP) +#define LO_CSUM_FEATURES6 (CSUM_IP6_TCP | CSUM_IP6_UDP | CSUM_IP6_SCTP) +#define LO_CSUM_SET (CSUM_L3_CALC | CSUM_L3_VALID | \ + CSUM_L4_CALC | CSUM_L4_VALID) static int loioctl(struct ifnet *, u_long, caddr_t); static int looutput(struct ifnet *ifp, struct mbuf *m,home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a744e5d.1878b.a40deaf>
