The Samba-Bugzilla – Attachment 13174 Details for
Bug 12756
Ordering of notify responses broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.6, 4.5 and 4.4
12756.patch.txt (text/plain), 1.46 KB, created by
Volker Lendecke
on 2017-04-26 10:59:37 UTC
(
hide
)
Description:
Patch for 4.6, 4.5 and 4.4
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2017-04-26 10:59:37 UTC
Size:
1.46 KB
patch
obsolete
>From 9b1ab922a05202000c49c2ba043ccc738907d866 Mon Sep 17 00:00:00 2001 >From: Shilpa Krishnareddy <skrishnareddy@panzura.com> >Date: Tue, 25 Apr 2017 16:59:45 +0200 >Subject: [PATCH] notify: Fix ordering of events in notifyd > >In notifyd_trigger_parser() while initializing notify_event_msg values from >notify_trigger_msg, 'when' value is ignored. So the smbd process does not get >correct 'when' value and this is causing issues during qsort in >notify_marshall_changes(). Because of this issue, smb2.notify.dir test was >failing. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=12756 >Signed-off-by: Shilpa Krishnareddy <skrishnareddy@panzura.com> >Reviewed-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Stefan Metzmacher <metze@samba.org> >(cherry picked from commit 8a69f92a7dc20fe2ec700b81eec37cb134231c54) >--- > source3/smbd/notifyd/notifyd.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/source3/smbd/notifyd/notifyd.c b/source3/smbd/notifyd/notifyd.c >index 70f52cd..087952a 100644 >--- a/source3/smbd/notifyd/notifyd.c >+++ b/source3/smbd/notifyd/notifyd.c >@@ -734,7 +734,8 @@ static void notifyd_trigger_parser(TDB_DATA key, TDB_DATA data, > > { > struct notifyd_trigger_state *tstate = private_data; >- struct notify_event_msg msg = { .action = tstate->msg->action }; >+ struct notify_event_msg msg = { .action = tstate->msg->action, >+ .when = tstate->msg->when }; > struct iovec iov[2]; > size_t path_len = key.dsize; > struct notifyd_instance *instances = NULL; >-- >2.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12756
:
13174
|
13175