diff options
| author | Kristoffer Dalby <kristoffer@tailscale.com> | 2024-09-23 17:07:38 +0200 |
|---|---|---|
| committer | Kristoffer Dalby <kristoffer@dalby.cc> | 2024-10-14 14:17:56 +0200 |
| commit | e0d711c478e335e99302a5320b43538337fa298b (patch) | |
| tree | 0b5cc18c921aa5573a565db0c80c82cfae1f2324 /control/controlhttp/controlhttpserver | |
| parent | 40c991f6b85b6a5ff1a4b440650750e95c755f61 (diff) | |
| download | tailscale-e0d711c478e335e99302a5320b43538337fa298b.tar.xz tailscale-e0d711c478e335e99302a5320b43538337fa298b.zip | |
{net/connstats,wgengine/magicsock}: fix packet counting in connstats
connstats currently increments the packet counter whenever it is called
to store a length of data, however when udp batch sending was introduced
we pass the length for a series of packages, and it is only incremented
ones, making it count wrongly if we are on a platform supporting udp
batches.
Updates tailscale/corp#22075
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
