diff options
| author | Michael Banck <mbanck@debian.org> | 2008-09-21 12:24:49 +0000 |
|---|---|---|
| committer | Michael Banck <mbanck@debian.org> | 2008-09-21 12:24:49 +0000 |
| commit | 66ea9758dbb84aea02ae683fd765ee04461f6e33 (patch) | |
| tree | ad2981e9d35520fbcb9d21d757f2b1611eca65fd /debian/patches | |
| parent | 6ab06fa26d1fad942adf3df94d3468e9208e60c3 (diff) | |
+ debian/patches/pflocal-port-leak.patch: Likewise.
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/pflocal-port-leak.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/debian/patches/pflocal-port-leak.patch b/debian/patches/pflocal-port-leak.patch deleted file mode 100644 index 7b9f8c86..00000000 --- a/debian/patches/pflocal-port-leak.patch +++ /dev/null @@ -1,48 +0,0 @@ -2008-07-22 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * pf.c (S_socket_fabricate_address): Drop one reference from addr since - we only take the send right. - * socket.c (S_socket_name): Likewise. - -Index: pflocal/pf.c -=================================================================== -RCS file: /cvsroot/hurd/hurd/pflocal/pf.c,v -retrieving revision 1.15 -diff -u -p -r1.15 pf.c ---- pflocal/pf.c 9 Aug 2000 21:13:53 -0000 1.15 -+++ pflocal/pf.c 22 Jul 2008 00:54:47 -0000 -@@ -108,6 +108,7 @@ S_socket_fabricate_address (mach_port_t - - *addr_port = ports_get_right (addr); - *addr_port_type = MACH_MSG_TYPE_MAKE_SEND; -+ ports_port_deref (addr); - - return 0; - } -Index: pflocal/socket.c -=================================================================== -RCS file: /cvsroot/hurd/hurd/pflocal/socket.c,v -retrieving revision 1.24 -diff -u -p -r1.24 socket.c ---- pflocal/socket.c 29 Aug 2005 09:41:21 -0000 1.24 -+++ pflocal/socket.c 22 Jul 2008 00:54:47 -0000 -@@ -245,6 +245,7 @@ S_socket_name (struct sock_user *user, - - *addr_port = ports_get_right (addr); - *addr_port_type = MACH_MSG_TYPE_MAKE_SEND; -+ ports_port_deref (addr); - - return 0; - } -@@ -323,7 +324,10 @@ S_socket_send (struct sock_user *user, s - source_addr, data, data_len, - control, control_len, ports, num_ports, - amount); -- pipe_release_writer (pipe); -+ if (dest_sock) -+ pipe_release_reader (pipe); -+ else -+ pipe_release_writer (pipe); - } - - if (err) |
