diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-17 15:59:35 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-17 15:59:35 +0000 |
commit | 4a3db94e9fd4fdc7f702554b46b4aac260f62c1a (patch) | |
tree | 5cb79611594a7eee788e5f842ee2964324585e17 /sys/dev/ic/rlnsubr.c | |
parent | 4b6e856615cb5509d01b2125b02520674eb655cd (diff) |
when sending a file descriptor, close it on the receiving side in
buf_dequeue() instead of in msgbuf_write(). as sendmsg() might return
without having written all data (we're on nonblocking sockets), we
might have closed the fd before it actually got send.
tracked down after (completely independent, didn't even look related at all)
bug reports from Shaun O'Neil <shaun@dma.nl> and
Arvid Grtting <arvidg@netfonds.no>, claudio ok
Diffstat (limited to 'sys/dev/ic/rlnsubr.c')
0 files changed, 0 insertions, 0 deletions