kernel: disable accept_ra by default
authorMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 12 Apr 2018 20:14:56 +0000 (22:14 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 17 Apr 2018 20:08:12 +0000 (22:08 +0200)
commitbb46520159c0119e829900e29681feea6f297fe0
treeb39719afb3858748ec8d12691fb09a9585ce6470
parent030a23001b74ede5fa2e6070a8fb04f3feccfbbd
kernel: disable accept_ra by default

Our commands setting accept_ra to 0 on all interfaces got lost in the
transition to procd. This remained unnoticed for a long time, as we also
enable forwarding on all interfaces, which prevents RA handling by default.

Restore the commands, while also fixing a possible race condition in the
old version.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/Makefile
package/base-files/files/etc/init.d/sysctl