diff options
author | Ankit Garg <nktgrg@google.com> | 2024-01-24 23:54:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-01-26 04:18:56 +0300 |
commit | 3df18416267bb0d390399f4e63f74f7d76c5d92e (patch) | |
tree | ff7d42cd134d2b75245018219381060c446cd20a /net/unix/scm.c | |
parent | 5535fcc59a16aea4bd454a97b4b73faa8a6b1c69 (diff) | |
download | linux-3df18416267bb0d390399f4e63f74f7d76c5d92e.tar.xz |
gve: Modify rx_buf_alloc_fail counter centrally and closer to failure
Previously, each caller of gve_rx_alloc_buffer had to increase counter
and as a result one caller was not tracking those failure. Increasing
counters at a common location now so callers don't have to duplicate
code or miss counter management.
Signed-off-by: Ankit Garg <nktgrg@google.com>
Link: https://lore.kernel.org/r/20240124205435.1021490-1-nktgrg@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions