aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorNicolas Dichtel <[email protected]>2017-11-14 13:21:32 +0000
committerDavid S. Miller <[email protected]>2017-11-15 04:56:45 +0000
commit094009531612246d9e13f9e0c3ae2205d7f63a0a (patch)
tree161c9a7e20ca78b6d622a58fc7f7b20393332fb3 /drivers/tty/serial/sccnxp.c
parentuapi: fix linux/tls.h userspace compilation error (diff)
downloadkernel-094009531612246d9e13f9e0c3ae2205d7f63a0a.tar.gz
kernel-094009531612246d9e13f9e0c3ae2205d7f63a0a.zip
ipv6: set all.accept_dad to 0 by default
With commits 35e015e1f577 and a2d3f3e33853, the global 'accept_dad' flag is also taken into account (default value is 1). If either global or per-interface flag is non-zero, DAD will be enabled on a given interface. This is not backward compatible: before those patches, the user could disable DAD just by setting the per-interface flag to 0. Now, the user instead needs to set both flags to 0 to actually disable DAD. Restore the previous behaviour by setting the default for the global 'accept_dad' flag to 0. This way, DAD is still enabled by default, as per-interface flags are set to 1 on device creation, but setting them to 0 is enough to disable DAD on a given interface. - Before 35e015e1f57a7 and a2d3f3e33853: global per-interface DAD enabled [default] 1 1 yes X 0 no X 1 yes - After 35e015e1f577 and a2d3f3e33853: global per-interface DAD enabled [default] 1 1 yes 0 0 no 0 1 yes 1 0 yes - After this fix: global per-interface DAD enabled 1 1 yes 0 0 no [default] 0 1 yes 1 0 yes Fixes: 35e015e1f577 ("ipv6: fix net.ipv6.conf.all interface DAD handlers") Fixes: a2d3f3e33853 ("ipv6: fix net.ipv6.conf.all.accept_dad behaviour for real") CC: Stefano Brivio <[email protected]> CC: Matteo Croce <[email protected]> CC: Erik Kline <[email protected]> Signed-off-by: Nicolas Dichtel <[email protected]> Acked-by: Stefano Brivio <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions