]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: nmbd: Add fd, triggered elements to struct socket_attributes.
authorJeremy Allison <jra@samba.org>
Fri, 23 Sep 2016 19:05:59 +0000 (12:05 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Oct 2016 08:43:27 +0000 (10:43 +0200)
commit447b640638d616bb39916b55191a5f22a90d4e43
treee498c7f3c3326d25445a121c456552d440382215
parentde63f7dc012336364dee930541e1008324863892
s3: nmbd: Add fd, triggered elements to struct socket_attributes.

Zero the attrs array on allocation, and mirror the fd's.

This will allow us to eventually remove source3/lib/events.c
dependency and make nmbd purely tevent based.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12283
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit d8ade0730797df22bfe28847e034eb6d116b0e00)
source3/nmbd/nmbd_packets.c