[patch] AF_UNIX: notify peer on close

From: Julian Anastasov (uli@linux.tu-varna.acad.bg)
Date: Sat Mar 04 2000 - 09:29:27 EST


        Hello,

        The problem: connected unix sockets are not notified
on close(), Linux 2.3.49

        It looks like the problem is in unix_release_sock():

- sock_orphan() must be called after notification, i.e. don't
reset sk->sleep before notification

        AF_UNIX rt events now work for me. Is this patch
correct ?

Regards

--
Julian Anastasov <uli@linux.tu-varna.acad.bg>


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:16 EST