tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: so_rerror
On Sat, Nov 03, 2018 at 06:53:49PM +0000, Christos Zoulas wrote:
> @@ -537,6 +538,7 @@
> so->so_proto = prp;
> so->so_send = sosend;
> so->so_receive = soreceive;
> + so->so_options = sooptions;
> #ifdef MBUFTRACE
> so->so_rcv.sb_mowner = &prp->pr_domain->dom_mowner;
> so->so_snd.sb_mowner = &prp->pr_domain->dom_mowner;
I think we need to mask sooptions here or with an accessor function
when using the sysctl to write the value. It is likely not a good idea
to set e.g. "there is an accept filter running" to on when this is a lie.
Maybe we should instead do a boolean sysctl and just set the single bit
in sooptions?
Martin
Home |
Main Index |
Thread Index |
Old Index