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)
commit0da20e0aecbf3e59bdc649c489a18832403dc9b2
tree6182f1efe2fb6af10c77c0c060cb13b1a5a1cf74
parent2245da4ad6674aa373e3057c661f5bc0315e191f
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!
source/smbd/server.c