Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a7077cb3 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

bpf_progs/offload.c - reduce memory usage by shrinking maps

Now that stats are cleared as soon as we turn off tethering
we no longer need to have 1000 entries in the per-interface
stats and limit maps.  In practice we'll usually have zero
(tethering inactive) or one (the active upstream tethering interface).

Test: atest
Bug: 150736748
Original-Change: https://android-review.googlesource.com/1328675
Merged-In: I22447efac365baef8aa212a5c4732fed5c4ff98e
Change-Id: I22447efac365baef8aa212a5c4732fed5c4ff98e
parent 3ab804fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment