Index | Thread | Search

From:
Vitaliy Makkoveev <mvs@openbsd.org>
Subject:
Re: delete inp_csumoffset define
To:
Alexander Bluhm <bluhm@openbsd.org>
Cc:
tech@openbsd.org
Date:
Mon, 15 Apr 2024 15:56:10 +0300

Download raw body.

Thread
On Mon, Apr 15, 2024 at 02:39:11PM +0200, Alexander Bluhm wrote:
> Hi,
> 
> Grep in /usr/src did not find any user of inp_csumoffset.
> 
> ok?
> 

ok mvs

> 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 *,
>