summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2008-07-22 14:05:54 +0000
committerSamuel Thibault <sthibault@debian.org>2008-07-22 14:05:54 +0000
commit478ce6ce13bb01e257142424127b3bc80c968b08 (patch)
tree4f6bb435f8985d9c5815eaff9e10ae4d42235a54 /debian/patches
parent9dcd4bcb48b289130560fe52c1506d3f4e601c07 (diff)
* debian/patches/pflocal-port-leak.patch: Complete patch.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/pflocal-port-leak.patch12
1 files changed, 12 insertions, 0 deletions
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)