diff options
| author | 2026-09-30 14:47:34 -0700 | |
|---|---|---|
| committer | 2026-10-05 16:59:36 -0700 | |
| commit | 9fed6a8ab8a5bacba2c709cb19d2dd6d2fa9112e (patch) | |
| tree | a0d8895f85f7e7583ec4e213991940bffd05ceb1 /scripts/patch-kernel | |
| parent | gve: fix XSK buffer leak when rings are stopped (diff) | |
gve: fix XSK buffer leak on error descriptor
When the error bit is set in the RX completion descriptor, the buf_state
and its attached buffer should be freed. In the case of AF_XDP ZC, the
XSK buffer was not freed, leading to a leak.
This issue was caught by LLM.
Fixes: c1fffc5d66a7 ("gve: implement DQO RX datapath and control path for AF_XDP zero-copy")
Cc: stable@vger.kernel.org
Reviewed-by: Jordan Rhee <jordanrhee@google.com>
Reviewed-by: Tim Hostetler <thostet@google.com>
Signed-off-by: Joshua Washington <joshwash@google.com>
Link: https://patch.msgid.link/20260930214735.3288780-3-joshwash@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
