Skip to content

change al_node handling

Marek Puzyniak requested to merge dev_change_al_node_implementation into devel

In host_node structure as al_node was used pointer to another host_node instance. This can be changed to table of bytes to just keep hw_address of that al_node host_node instance. So now to find al_node we need to take al_node mac address and use host_node_lookup function to find instance of that object.

This change is introduced to avoid topologyd core dump in host_dump_node_nbr while accessing invalid al_node pointer.

Signed-off-by: Marek Puzyniak marek.puzyniak@iopsys.eu

@jakob @anjancx @nevadita.chatterjee Please take a look. I was not able to find root cause of core dump in topologyd in host_dump_node_nbr function. So this patch suppose to prevent that crash to happen.

Merge request reports