From 478ce6ce13bb01e257142424127b3bc80c968b08 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 22 Jul 2008 14:05:54 +0000 Subject: * debian/patches/pflocal-port-leak.patch: Complete patch. --- debian/patches/pflocal-port-leak.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'debian/patches') diff --git a/debian/patches/pflocal-port-leak.patch b/debian/patches/pflocal-port-leak.patch index c967e8e5..7b9f8c86 100644 --- a/debian/patches/pflocal-port-leak.patch +++ b/debian/patches/pflocal-port-leak.patch @@ -34,3 +34,15 @@ diff -u -p -r1.24 socket.c 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) -- cgit v1.2.3