Re: kern/45733: file descriptor flags and socket flags out of sync
From: Robert Watson (rwatson_at_freebsd.org)
Date: 06/23/04
- Previous message: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- In reply to: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- Next in thread: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- Reply: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Jun 2004 21:04:35 -0400 (EDT) To: Bruce M Simpson <bms@spc.org>
On Wed, 23 Jun 2004, Bruce M Simpson wrote:
> On Tue, Jun 22, 2004 at 07:11:19PM -0400, Robert Watson wrote:
> > so->so_state |= (head->so_state & SS_NBIO);
>
> In the end this is what it boils down to. I've committed this and an
> appropriate manual page update.
Since you're looking at the propagation of head so_state to new socket
so_state, you might want to look at the similar statement in sonewconn(),
which copies so_state from head to the new socket, and adds the SS_NOFDREF
flag. Should we only be propagating SS_NBIO here as well?
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Senior Research Scientist, McAfee Research
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- In reply to: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- Next in thread: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- Reply: Bruce M Simpson: "Re: kern/45733: file descriptor flags and socket flags out of sync"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|