Skip to content

Commit

Permalink
netifd: add pending patch to restore disable_ipv6 sysctl
Browse files Browse the repository at this point in the history
If a device is added to a bond or bridge, the disable_ipv6 sysctl is
set, so that no link local addresses are present on the slave devices.

However, the disable_ipv6 sysctl is not restored after removing the
device from the bridge or bond. Therefore, no IPv6 link local addresses
are added and autoconfiguration does not work.

Set the disable_ipv6 to '0' on device removal from bridge or bond.

Fixes: #272
References: openwrt/netifd#40

Signed-off-by: Fabian Bläse <fabian@blaese.de>
  • Loading branch information
fblaese committed Dec 11, 2024
1 parent e84e5de commit dc48c9c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build_patches/openwrt/0007-netifd-fix-ipv6.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
From 9d20b925a3081778eb407fcd445bc3136eadf542 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= <fabian@blaese.de>
Date: Sat, 16 Nov 2024 00:00:50 +0100
Subject: [PATCH] netifd: fix ipv6

---
package/network/config/netifd/patches/40.patch | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 package/network/config/netifd/patches/40.patch

diff --git a/package/network/config/netifd/patches/40.patch b/package/network/config/netifd/patches/40.patch
new file mode 100644
index 0000000000..e69de29bb2
--
2.47.0

0 comments on commit dc48c9c

Please sign in to comment.