Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: postfix/master broken in -current? and 5.0_RC4




On 06-Apr-09, at 17:26 , Christos Zoulas wrote:

Maybe it has to do with the latest fileops changes?

The following seems to restore the previous behavior. Perhaps we should only drain file descriptor instances that belong to the same process, not to
different ones?

christos

Index: sys_socket.c
===================================================================
RCS file: /cvsroot/src/sys/kern/sys_socket.c,v
retrieving revision 1.59
diff -u -u -r1.59 sys_socket.c
--- sys_socket.c        4 Apr 2009 10:12:51 -0000       1.59
+++ sys_socket.c        6 Apr 2009 21:24:04 -0000
@@ -89,7 +89,7 @@
        .fo_stat = soo_stat,
        .fo_close = soo_close,
        .fo_kqfilter = soo_kqfilter,
-       .fo_drain = soo_drain,
+       .fo_drain = fnullop_drain, /* soo_drain, */
};

/* ARGSUSED */


This stops the postfix crashes on my 5.0_RC3 box. Thanks for the quick fix!

--
    aew



Home | Main Index | Thread Index | Old Index