Merge changes I289d935f,I0121a4ac,Ie73ba058,I4393afcb,Ifebd946e, ... into rvc-dev am: c119ee1ed2
Change-Id: Iec9a061d0f91993e65c5d110955e8f23b0f0d945
This commit is contained in:
@@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
package android.net;
|
package android.net;
|
||||||
|
|
||||||
import static android.os.Process.CLAT_UID;
|
|
||||||
|
|
||||||
import android.annotation.IntDef;
|
import android.annotation.IntDef;
|
||||||
import android.annotation.NonNull;
|
import android.annotation.NonNull;
|
||||||
import android.annotation.Nullable;
|
import android.annotation.Nullable;
|
||||||
@@ -1095,12 +1093,6 @@ public final class NetworkStats implements Parcelable {
|
|||||||
entry.txBytes += entry.txPackets * IPV4V6_HEADER_DELTA;
|
entry.txBytes += entry.txPackets * IPV4V6_HEADER_DELTA;
|
||||||
stackedTraffic.setValues(i, entry);
|
stackedTraffic.setValues(i, entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Theoretically there should be no traffic accounted to the clat daemon's uid:
|
|
||||||
// see ebpf program 'netd.c's early returns
|
|
||||||
// and iptables '-m owner --uid-owner clat -j RETURN' rules prior to accounting
|
|
||||||
// TODO: remove this - should definitely be safe once ebpf only.
|
|
||||||
baseTraffic.removeUids(new int[] {CLAT_UID});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user