History

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.

Felix Jia committed 9 years ago

Commit d35a00b1 parent 6a4bc2b4 files · +86 −21Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/ipv6.h+1−0
@@ -182,6 +182,7 @@ enum { · 181 unmodified lines
182182 DEVCONF_SEG6_ENABLED,
183183 DEVCONF_SEG6_REQUIRE_HMAC,
184184 DEVCONF_ENHANCED_DAD,
185+ DEVCONF_ADDR_GEN_MODE,
185186 DEVCONF_MAX
186187 };
187188

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t