OSDN Git Service

Don't break IPv6 connectivity when in doze mode.
authorLorenzo Colitti <lorenzo@google.com>
Tue, 1 Sep 2015 07:53:35 +0000 (16:53 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Wed, 2 Sep 2015 04:00:05 +0000 (13:00 +0900)
commitc8683d7eb9bb95de2090431e8daaa45d92b45e38
treef4e928ba8e5f5caa2f01b3910a9b69567b0ebd41
parentf2fed7647ede2ae39a76d50cf4abc9e57b49d40d
Don't break IPv6 connectivity when in doze mode.

Working IPv6 connectivity relies on the kernel being able to
receive certain ICMPv6 packets (router advertisements, neighbour
solicitations, neighbour advertisements) at all times. Allow
these packets when in doze mode.

This is not necessary for IPv4 because in IPv4 these functions
use ARP, which is invisible to iptables.

Bug: 23158230
Change-Id: I29ed77561db9688486cf58cd14ac3bce7fce4b40
server/FirewallController.cpp
server/FirewallController.h