mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
use a minimal hash size in the unexpected packet database. A large
hash is only useful when we fetch by key, not when we use tdb_traverse()
This commit is contained in:
parent
8515bdb39c
commit
e154f041e8
@ -49,7 +49,7 @@ void unexpected_packet(struct packet_struct *p)
|
||||
int len=0;
|
||||
|
||||
if (!tdb) {
|
||||
tdb = tdb_open(lock_path("unexpected.tdb"), 0,
|
||||
tdb = tdb_open(lock_path("unexpected.tdb"), 1,
|
||||
TDB_CLEAR_IF_FIRST,
|
||||
O_RDWR | O_CREAT, 0644);
|
||||
if (!tdb) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user