diff options
author | andre <andre@FreeBSD.org> | 2003-11-28 16:33:03 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2003-11-28 16:33:03 +0000 |
commit | c06e5a954d0823e6eb2685d8b4d9072568909bcd (patch) | |
tree | b89ea3dd35cea001eee9869a0e778d81276358a4 /usr.bin/netstat/if.c | |
parent | 547eb2ea6db3e6e5b6733ff2e160bbbd14c287bd (diff) | |
download | FreeBSD-src-c06e5a954d0823e6eb2685d8b4d9072568909bcd.zip FreeBSD-src-c06e5a954d0823e6eb2685d8b4d9072568909bcd.tar.gz |
Fix an optimization where I made an ifdef'd out section to broad.
When the hostcache bucket limit is reached the last bucket wasn't
removed from the bucket row but inserted a few lines later at the
bucket row head again. This leads to infinite loop when the same
bucket row is accessed the next time for a lookup/insert or purge
action.
Tested by: imp, Matt Smith
Approved by: re (rwatson)
Diffstat (limited to 'usr.bin/netstat/if.c')
0 files changed, 0 insertions, 0 deletions