diff options
| author | Bob Pearson <[email protected]> | 2021-03-04 19:20:49 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-03-05 18:15:22 +0000 |
| commit | 545c4ab463c2224557e56b2609f88ed5be265405 (patch) | |
| tree | ffa7bf5325f4ba8aec2545a65bccd2040d2b79f0 /fs/proc/array.c | |
| parent | RDMA/rxe: Fix extra deref in rxe_rcv_mcast_pkt() (diff) | |
| download | kernel-545c4ab463c2224557e56b2609f88ed5be265405.tar.gz kernel-545c4ab463c2224557e56b2609f88ed5be265405.zip | |
RDMA/rxe: Fix errant WARN_ONCE in rxe_completer()
In rxe_comp.c in rxe_completer() the function free_pkt() did not clear skb
which triggered a warning at 'done:' and could possibly at 'exit:'. The
WARN_ONCE() calls are not actually needed. The call to free_pkt() is
moved to the end to clearly show that all skbs are freed.
Fixes: 899aba891cab ("RDMA/rxe: Fix FIXME in rxe_udp_encap_recv()")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
