[U-Boot] [Patch] Fix hash table deletion to prevent lost entries

2011-01-19 Thread Peter Barada
The hash delete code is in error; instead of just removing the deleted key, it should instead allocate a new hashtable, hash all the keys into the new table except for the deleted key and then reclaim the old table (and deleted key). Can you please come up with a patch? Hashtable delete is

Re: [U-Boot] [Patch] Fix hash table deletion to prevent lost entries

2011-01-19 Thread Wolfgang Denk
Dear Peter Barada, In message 4d371208.3090...@logicpd.com you wrote: The hash delete code is in error; instead of just removing the deleted key, it should instead allocate a new hashtable, hash all the keys into the new table except for the deleted key and then reclaim the old table