fixed a very nasty oplock bug. We could send oplock break requests on
authorAndrew Tridgell <tridge@samba.org>
Fri, 28 Nov 1997 03:30:24 +0000 (03:30 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 28 Nov 1997 03:30:24 +0000 (03:30 +0000)
commitf822c17d35921817e19ce0d879788125f361d4b9
tree6e2b56b00485878d8f94cfcac4b4a372faddd795
parent6c158adf25dae3a71203d0dffc6a6018ba02da0d
fixed a very nasty oplock bug. We could send oplock break requests on
files that aren't open if the file happened to close while the oplock
was in transit. We would end up sending a oplock break request on
another random file (actually the open file that happened to have the
highest fnum). Then we wouldn't get a response, so smbd would keep
sending and would actually flood the net with an infinite number of
oplock break requests!
(This used to be commit 0da20e0aecbf3e59bdc649c489a18832403dc9b2)
source3/smbd/server.c