commit | 69c840fe5363ead6c0d6e012965b7c1538055584 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Mon Nov 18 12:00:49 2019 -0800 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Nov 27 16:45:51 2019 +0000 |
tree | 2b5fcdc606b4859346b183d337054d17b97ca1ff | |
parent | badfbedcadeee85f8b7792abfd58de1ca89ec43b [diff] |
clatd - move bind() post bpf filter attach This fixes a minor race where the ingress ipv6 raw socket can receive/deliver packets prior to the bpf filter being setup to filter them out. Test: builds, booted on crosshatch, clat continues to work Bug: 144635476 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I47a4f908d1d365937885d36902fa6a92c53d1ebf