android_kernel_oneplus_msm8998/android/configs
Amit Pundir 9c4d6ba998 android: android-base.config: enable IP6_NF_MATCH_RPFILTER
USB tethering has a hard dependency on ip6t_rpfilter module now.
So enable IP6_NF_MATCH_RPFILTER config to make it work again,
otherwise we run into following failures when we try to enable
USB tethering on Hikey:

W IptablesRestoreController: iptables-restore process 1893 terminated status=256
E IptablesRestoreController: iptables error:
E IptablesRestoreController: ------- COMMAND -------
E IptablesRestoreController: *raw
E IptablesRestoreController: -A natctrl_raw_PREROUTING -i usb0 -m rpfilter --invert ! -s fe80::/64 -j DROP
E IptablesRestoreController: COMMIT
E IptablesRestoreController:
E IptablesRestoreController: ------- ERROR -------
E IptablesRestoreController: ip6tables-restore: line 319 failed
E IptablesRestoreController: ----------------------
E NatController: Error setting forward rules
E Tethering: [usb0] ERROR Exception enabling NAT: java.lang.IllegalStateException: command '55 nat enable
  usb0 wlan0 1 192.168.42.0/24' failed with '400 55 Nat operation failed (No such device)'

Change-Id: I4a4e192ee1c81a7a425eefee9a2a53dd41e1fa0e
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2017-08-31 14:32:08 +00:00
..
android-base-arm64.cfg ANDROID: android-base.cfg: split out arm64-specific configs 2017-06-19 09:45:49 -07:00
android-base.cfg android: android-base.config: enable IP6_NF_MATCH_RPFILTER 2017-08-31 14:32:08 +00:00
android-recommended.cfg android: configs: move quota-related configs to recommended 2017-08-10 10:29:55 -07:00
README android: configs: Reorder config fragments, update README 2016-02-16 13:54:28 -08:00

The files in this directory are meant to be used as a base for an Android
kernel config. All devices should have the options in android-base.cfg enabled.
While not mandatory, the options in android-recommended.cfg enable advanced
Android features.

Assuming you already have a minimalist defconfig for your device, a possible
way to enable these options would be:

     ARCH=<arch> scripts/kconfig/merge_config.sh <path_to>/<device>_defconfig android/configs/android-base.cfg android/configs/android-recommended.cfg

This will generate a .config that can then be used to save a new defconfig or
compile a new kernel with Android features enabled.

Because there is no tool to consistently generate these config fragments,
lets keep them alphabetically sorted instead of random.