Unverified Commit b96ea10d authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13101 thunderbolt: Mark XDomain as unplugged when router is removed

parents 86158131 58587942
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2584,6 +2584,7 @@ void tb_switch_remove(struct tb_switch *sw)
			tb_switch_remove(port->remote->sw);
			port->remote = NULL;
		} else if (port->xdomain) {
			port->xdomain->is_unplugged = true;
			tb_xdomain_remove(port->xdomain);
			port->xdomain = NULL;
		}