Files
gns3-server/gns3server
tikD1337andClaude Opus 5.5 d440849886 fix(ethernet-switch): release a leftover bridge's ports before the crash-recovery delete
A server killed before close() leaves the switch's kernel bridge behind
with its ports still enslaved: a peer's persistent anchor TAP and cascade
veth ends outlive uBridge. uBridge's brctl delete refuses a bridge that
still has ports (EBUSY), so the best-effort recovery delete in
_ensure_bridge() failed silently and brctl create hit EEXIST: the switch,
and the project holding it, could no longer be opened (HTTP 409 "Could
not create bridge gns3xxxxxx: File exists").

List the leftover bridge's ports from /sys/class/net/<bridge>/brif and
release each with brctl delif before the delete. uBridge's brctl show
reports no ports, and the switch already reads sysfs on the same host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:10:13 +02:00
..
2026-10-20 20:44:21 +03:00
2026-10-20 18:53:07 +07:00
2026-08-18 18:02:53 +02:00
2026-10-19 23:28:49 +07:00
2026-10-19 23:28:49 +07:00
2026-10-17 11:43:36 +03:00
2026-10-21 15:24:00 +07:00
2024-04-22 18:51:29 +07:00
2026-10-20 17:16:44 +07:00
2026-10-21 15:47:16 +07:00
2026-10-03 19:43:58 +03:00
2026-10-21 16:04:23 +07:00