Index | Thread | Search

From:
Alexander Bluhm <bluhm@openbsd.org>
Subject:
delete inp_csumoffset define
To:
tech@openbsd.org
Date:
Mon, 15 Apr 2024 14:39:11 +0200

Download raw body.

Thread
Hi,

Grep in /usr/src did not find any user of inp_csumoffset.

ok?

bluhm

Index: netinet/in_pcb.h
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/in_pcb.h,v
diff -u -p -r1.154 in_pcb.h
--- netinet/in_pcb.h	22 Mar 2024 21:48:38 -0000	1.154
+++ netinet/in_pcb.h	15 Apr 2024 12:26:12 -0000
@@ -176,9 +176,6 @@ struct inpcb {
 #define	inp_flowinfo	inp_hu.hu_ipv6.ip6_flow
 
 	int	inp_cksum6;
-#ifndef _KERNEL
-#define inp_csumoffset	inp_cksum6
-#endif
 	struct	icmp6_filter *inp_icmp6filt;
 	struct	pf_state_key *inp_pf_sk; /* [L] */
 	struct	mbuf *(*inp_upcall)(void *, struct mbuf *,