goldfish: Enable multinetwork kernel feature.
authorDavid 'Digit' Turner <digit@android.com>
Tue, 16 Sep 2014 20:36:56 +0000 (22:36 +0200)
committerDavid 'Digit' Turner <digit@android.com>
Tue, 16 Sep 2014 20:38:17 +0000 (22:38 +0200)
commit64a0393ad381efc032bfaa8d21fcc30602f1cb90
treef5deee07147c6068fc6e24e4f0c5d08bec3b9aed
parent43dbfdb838603e823d75cec871f0c317e8c20fc9
goldfish: Enable multinetwork kernel feature.

These are required for Android L and beyond. The following changes
were generated by doing the following:

 1) For each CPU architecture, append the following to its _defconfig
    file:

CONFIG_IPV6=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XT_MARK=y
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP6_NF_IPTABLES=y
CONFIG_IP6_NF_MANGLE=y

  2) For each CPU architecture, run:

      $AOSP/external/qemu/distrib/rebuild-kernel.sh --arch=$ARCH --savedefconfig

  The --savedefconfig option ensures the _defconfig is modified to only
  contain the minimal amount of changes required, and removes un-necessary
  definitions too.

BUG=17516983

Signed-off-by: David 'Digit' Turner <digit@android.com>
arch/arm64/configs/ranchu_defconfig
arch/x86/configs/i386_emu_defconfig
arch/x86/configs/x86_64_emu_defconfig