[lldp-devel] [PATCH] lldpad: Stop port list damage in remove_port

John Fastabend john.r.fastabend at intel.com
Fri Apr 5 17:55:56 UTC 2013

On 3/21/2013 1:17 PM, Mark Rustad wrote:
> Commit 384ba242 changed this function to use the standard
> port_find_by_name function, which would be good, except
> that it missed the setting of the parent pointer, which
> is used to remove the port. Consequently, remove_port
> calls were damaging the port list. Fix that by restoring
> the custom loop.
> Signed-off-by: Mark Rustad <mark.d.rustad at intel.com>
> Tested-by: Jack Morgan <jack.morgan at intel.com>
> ---

Applied. Thanks Mark/Jack.

More information about the lldp-devel mailing list