summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTianyi Gou <tgou@codeaurora.org>2015-07-14 15:42:08 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:09:54 -0700
commit5b047145cd868c12cc03b1191e6277174bd08a8b (patch)
treea1644a3c5a32fd1ace9750fcf999051ae068065c /include/linux
parent4e3fe29e9289bc0dae9b02d784bdb0df96d21063 (diff)
net/ipv6/addrconf: IPv6 tethering enhancement
Added new procfs flag to toggle the automatic addition of prefix routes on a per device basis. The new flag is accept_ra_prefix_route. Defaults to 1 as to not break existing behavior. CRs-Fixed: 435320 Change-Id: If25493890c7531c27f5b2c4855afebbbbf5d072a Acked-by: Harout S. Hedeshian <harouth@qti.qualcomm.com> Signed-off-by: Tianyi Gou <tgou@codeaurora.org> [subashab@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index ce777260e9ea..1129d68cb6cc 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -61,6 +61,7 @@ struct ipv6_devconf {
struct in6_addr secret;
} stable_secret;
__s32 use_oif_addrs_only;
+ __s32 accept_ra_prefix_route;
void *sysctl;
};