commit | 04ed6a35921303aa194358f6c8b84b3f556ccc92 | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Thu Nov 15 20:30:46 2018 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Mon Dec 10 14:18:14 2018 +0000 |
tree | 46eec2ff55ac38a3591cfba23feebaf0f814e2c9 | |
parent | 785e5f1f962ec95cf59333c931280890f130b9c2 [diff] |
apf: Drop ARP reply if SPA is 0.0.0.0 Some network re-writing packet from broadcast MACs to unicast, result in this kind of packets cannot be dropped by APF filter. Thus, drop ARP reply if source IP is 0.0.0.0. Note: Linux kernel always ignores such replies in the function arp_process(). Bug: 118044271 Test: runtest frameworks-net -c android.net.apf.ApfTest Change-Id: Id293bf231913d9b483ce7d8dd909e05fa927ccd7