Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graph: sanitize dynamic node attach to parent #37

Merged
merged 1 commit into from
Jul 10, 2024
Merged

graph: sanitize dynamic node attach to parent #37

merged 1 commit into from
Jul 10, 2024

Conversation

rjarry
Copy link
Collaborator

@rjarry rjarry commented Jul 10, 2024

Rename node_name to next_node to make it more explicit.

Log the requested operation before actually calling gr_node_attach_parent so that is easier to debug in case of error.

Also update ip_output_add_tunnel to take a node name instead of an edge id.

@rjarry rjarry force-pushed the graph-attach branch 2 times, most recently from 3bc2f3d to 8a3c824 Compare July 10, 2024 15:36
Rename node_name to next_node to make it more explicit. Remove redundant
check for the returned edge id. gr_node_attach_parent already calls
ABORT if the operation fails.

Log the requested operation before actually calling
gr_node_attach_parent so that is easier to debug in case of error.

Also update ip_output_add_tunnel to take a node name instead of an edge
id.

Signed-off-by: Robin Jarry <[email protected]>
Reviewed-by: Christophe Fontaine <[email protected]>
@rjarry rjarry merged commit 94a6967 into main Jul 10, 2024
3 checks passed
@rjarry rjarry deleted the graph-attach branch July 10, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants