[Pkg-samba-maint] DO NOT REPLY [Bug 6651] smbd SIGSEGV when breaking oplocks
samba-bugs at samba.org
samba-bugs at samba.org
Fri Aug 21 20:17:56 UTC 2009
https://bugzilla.samba.org/show_bug.cgi?id=6651
------- Comment #7 from petr at vandrovec.name 2009-08-21 15:17 CST -------
Well, I'm not sure you can get away with saying it is not ring buffer - I think
that you have to fix it to make it behave like ring buffer (i.e. what my patch
tried to do).
I have no idea what's locking rules in smbd, but let's say that you get 5
signals from kernel about breaking leases. They'll be at slots 0-4. You start
processing them, and while you are doing so, you'll receive 5 more
notifications. Signal handler will put them at slots 5-9. Now you complete
processing, and bump seen pointer by 5. You'll notice that there are 5
requests still pending, and so ... you'll process slots 0-4 again, instead of
processing slots 5-9.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
More information about the Pkg-samba-maint
mailing list