diff options
author | Christian Ambach <ambi@samba.org> | 2011-05-19 18:13:40 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2011-05-19 21:21:14 +0200 |
commit | 642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce (patch) | |
tree | 20a1265cf58f5b04dcf6cd8e1b893ac0facb6bc9 /source3/lib | |
parent | 58b77f226767f5641a3fc0ecd557b613c6441c66 (diff) | |
download | samba-642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce.tar.gz samba-642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce.tar.bz2 samba-642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce.zip |
Fix Bug 8152 - smbd crash in release_ip()
release_ip() needs the private_data, but it was never saved away
to feed it into release_ip() later
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu May 19 21:21:14 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index d27186996e..f42290695a 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -1358,6 +1358,11 @@ NTSTATUS ctdbd_register_ips(struct ctdbd_connection *conn, } conn->release_ip_handler = release_ip_handler; + /* + * store the IP address of the server socket for later + * comparison in release_ip() + */ + conn->release_ip_priv = private_data; /* * We want to be told about IP releases |