The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=bcf4e3c001f5ec9cc206b0d81f0954559d1424d8
commit bcf4e3c001f5ec9cc206b0d81f0954559d1424d8 Author: Timo Völker <[email protected]> AuthorDate: 2026-06-29 20:03:46 +0000 Commit: Michael Tuexen <[email protected]> CommitDate: 2026-06-29 20:03:46 +0000 loopback: use new names for checksum offloading flags No functional change intended. Reviewed by: tuexen MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D57945 --- 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 69108e9f332a..647dbe79e229 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,
