diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-30 02:14:47 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-30 02:14:47 +0900 |
| commit | 584e30216896fd4de6301f9cf937829e16d22c49 (patch) | |
| tree | c9838372b7bf39cb9508e318634f405868dfd05a /container | |
| parent | 141958656f8a83a4f5703bd4890389dd1f180e0a (diff) | |
internal/netlink: set receive buffer size
This is done by both systemd sd-device and AOSP ueventd to improve robustness. Rosa OS will still handle ENOBUFS via coldboot but a big buffer should mitigate this as well.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container')
| -rw-r--r-- | container/dispatcher.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/dispatcher.go b/container/dispatcher.go index 9f971fa5..d3ff4f00 100644 --- a/container/dispatcher.go +++ b/container/dispatcher.go @@ -179,7 +179,7 @@ func (direct) mustLoopback(ctx context.Context, msg message.Msg) { lo = ifi.Index } - c, err := netlink.DialRoute() + c, err := netlink.DialRoute(0) if err != nil { msg.GetLogger().Fatalln(err) } |
