* [PATCH] img/app: only set known interfaces to up
@ 2026-05-03 17:31 Alyssa Ross
2026-05-18 7:10 ` Alyssa Ross
0 siblings, 1 reply; 2+ messages in thread
From: Alyssa Ross @ 2026-05-03 17:31 UTC (permalink / raw)
To: devel; +Cc: Yureka
Linux 7.1-rc1 defaults IPV6_SIT to built-in, which means a sit0 device
always exists. (I think this is unintentional and have sent a patch
to change it back to a module by default[1].) Depending on which
interface, sit0 or the eth0 connected to the router, comes up first,
networking may end up not working. Make our interface handling more
robust by only bringing the interfaces from the router up, rather than
all interfaces unconditionally.
Link: https://lore.kernel.org/netdev/20260503165714.1477819-1-hi@alyssa.is/ [1]
Fixes: 88f2695c ("Initial commit")
Signed-off-by: Alyssa Ross <hi@alyssa.is>
---
Not sure whether maybe it would be a good idea to check
type = 1 (ARPHRD_ETHER) as well?
img/app/image/etc/mdev/iface | 1 +
1 file changed, 1 insertion(+)
diff --git a/img/app/image/etc/mdev/iface b/img/app/image/etc/mdev/iface
index 67eee84f..55ec160c 100755
--- a/img/app/image/etc/mdev/iface
+++ b/img/app/image/etc/mdev/iface
@@ -4,5 +4,6 @@
background {
importas -Si INTERFACE
+ if { grep -q ^02:00: /sys/class/net/${INTERFACE}/address }
ip link set $INTERFACE up
}
base-commit: ea05e3e48816037e442e6ee8205f924191c9634c
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] img/app: only set known interfaces to up
2026-05-03 17:31 [PATCH] img/app: only set known interfaces to up Alyssa Ross
@ 2026-05-18 7:10 ` Alyssa Ross
0 siblings, 0 replies; 2+ messages in thread
From: Alyssa Ross @ 2026-05-18 7:10 UTC (permalink / raw)
To: Alyssa Ross, devel; +Cc: Yureka
This patch has been committed as 5b3151fd08d1f1e3e166a328449fe6fe5092f316,
which can be viewed online at
https://spectrum-os.org/git/spectrum/commit/?id=5b3151fd08d1f1e3e166a328449fe6fe5092f316.
This is an automated message. Send comments/questions/requests to:
Alyssa Ross <hi@alyssa.is>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-18 7:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-03 17:31 [PATCH] img/app: only set known interfaces to up Alyssa Ross
2026-05-18 7:10 ` Alyssa Ross
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).