git: 9a1511e23f79 - stable/14 - loopback: use new names for checksum offloading flags
Michael Tuexen <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a7444b0.3b7e4.19dad20f__48372.9619810887$1786004672$gmane$org@gitrepo.freebsd.org> |
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=9a1511e23f79bd779a6643cab079f8407d4cfee1 commit 9a1511e23f79bd779a6643cab079f8407d4cfee1 Author: Timo Völker <[email protected]> AuthorDate: 2026-06-29 20:03:46 +0000 Commit: Michael Tuexen <[email protected]> CommitDate: 2026-08-06 05:47:02 +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 90252ae06b05..97a534e43212 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -83,12 +83,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,