From: zzc Date: Tue, 16 May 2017 07:22:29 +0000 (+0800) Subject: arm64: rockchip_defconfig: fix softap error X-Git-Tag: release-20171130_firefly~4^2~543 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a167eb79252cc51a6dcc9b79d8b9a64b656f4ea2;p=firefly-linux-kernel-4.4.55.git arm64: rockchip_defconfig: fix softap error fix error: 05-16 06:42:05.688 347 596 V NatController: runCmd(/system/bin/ip6tables -w -t raw -A natctrl_raw_PREROUTING -i wlan0 -m rpfilter --invert ! -s fe80::/64 -j DROP) res=1 05-16 06:42:05.726 347 596 E NatController: Error setting forward rules 05-16 06:42:05.791 602 622 E TetherInterfaceSM: Exception enabling Nat: java.lang.IllegalStateException: command '53 nat enable wlan0 eth0 1 192.168.43.0/24' failed with '400 53 Nat op eration failed (No such device)' 05-16 06:42:05.794 347 841 D TetherController: Sending update msg to dnsmasq [update_ifaces|wlan0] 05-16 06:42:05.796 347 596 D TetherController: untetherInterface(wlan0) Change-Id: Iae2ec50bef0915aecc1b2befb014a87731e61643 Signed-off-by: zzc --- diff --git a/arch/arm64/configs/rockchip_defconfig b/arch/arm64/configs/rockchip_defconfig index edc020547afe..1f09b834159a 100644 --- a/arch/arm64/configs/rockchip_defconfig +++ b/arch/arm64/configs/rockchip_defconfig @@ -177,6 +177,7 @@ CONFIG_NF_CONNTRACK_IPV4=y CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_MATCH_AH=y CONFIG_IP_NF_MATCH_ECN=y +CONFIG_IP_NF_MATCH_RPFILTER=y CONFIG_IP_NF_MATCH_TTL=y CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y @@ -192,10 +193,13 @@ CONFIG_IP_NF_ARPFILTER=y CONFIG_IP_NF_ARP_MANGLE=y CONFIG_NF_CONNTRACK_IPV6=y CONFIG_IP6_NF_IPTABLES=y +CONFIG_IP6_NF_MATCH_RPFILTER=y CONFIG_IP6_NF_FILTER=y CONFIG_IP6_NF_TARGET_REJECT=y CONFIG_IP6_NF_MANGLE=y CONFIG_IP6_NF_RAW=y +CONFIG_IP6_NF_NAT=y +CONFIG_IP6_NF_TARGET_MASQUERADE=y CONFIG_BRIDGE_NF_EBTABLES=y CONFIG_BRIDGE_EBT_BROUTE=y CONFIG_L2TP=y