[Click] FromHost bug

Bobby Longpocket bobbylongpocket at yahoo.com
Tue Mar 1 01:20:29 EST 2011


FromHost mangles the device->FromHost mappings by putting each instance in both the "unknown" map and the ifindex-based map at the same time.

This happens at configure() time.  FromHost tries to remove itself from the "unknown" map before adding itself to the ifindex-based map, but the removal fails: the associated device already has an ifindex, so remove() doesn't look in the "unknown" map for it.

This was introduced in commit 83cef857858431f0ad8bc2ac8b0984da3276008b


      


More information about the click mailing list