Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d1f8a9bb authored by Felix Jia's avatar Felix Jia Committed by Maciej Żenczykowski
Browse files

UPSTREAM: net/ipv6: allow sysctl to change link-local address generation mode



The address generation mode for IPv6 link-local can only be configured
by netlink messages. This patch adds the ability to change the address
generation mode via sysctl.

v1 -> v2
Removed the rtnl lock and switch to use RCU lock to iterate through
the netdev list.

v2 -> v3
Removed the addrgenmode variable from the idev structure and use the
systcl storage for the flag.

Simplifed the logic for sysctl handling by removing the supported
for all operation.

Added support for more types of tunnel interfaces for link-local
address generation.

Based the patches from net-next.

v3 -> v4
Removed unnecessary whitespace changes.

Signed-off-by: default avatarFelix Jia <felix.jia@alliedtelesis.co.nz>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>

(cherry picked from commit d35a00b8e33dab7385f724e713ae71c8be0a49f4)
Bug: 138428295
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: Ia526e6c1de55e51e35b4b83d95749121fee5d0d1
parent 288506e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment