[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-net
Subject:    Re: SO_TIMESTAMP vs ICMP6?
From:       Mouse <mouse () Rodents-Montreal ! ORG>
Date:       2024-02-23 16:41:03
Message-ID: 202402231641.LAA22867 () Stone ! Rodents-Montreal ! ORG
[Download RAW message or body]

>> [...SO_TIMESTAMP...didn't work...]
> Looks like a trivial bug, also in -current.

> raw_ip.c:

>         if (last->inp_flags & INP_CONTROLOPTS ||
>             SOOPT_TIMESTAMP(last->inp_socket->so_options))
>                 ip_savecontrol(last, &opts, ip, n);

> raw_ip6.c:

>         if (last->inp_flags & IN6P_CONTROLOPTS)
>                 ip6_savecontrol(last, &opts, ip6, n);

Thank you; I missed that contrast!

Looks as though the patch in the PR is close to correct, then.
Correct, probably, for my versions, since SOOPT_TIMESTAMP is newer than
what I'm running, but for -current it just needs that conversion.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse@rodents-montreal.org
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic