]> Git Repo - linux.git/commit
RDMA/rxe: Fix errant WARN_ONCE in rxe_completer()
authorBob Pearson <[email protected]>
Thu, 4 Mar 2021 19:20:49 +0000 (13:20 -0600)
committerJason Gunthorpe <[email protected]>
Fri, 5 Mar 2021 18:15:22 +0000 (14:15 -0400)
commit545c4ab463c2224557e56b2609f88ed5be265405
treeffa7bf5325f4ba8aec2545a65bccd2040d2b79f0
parent5e4a7ccc965d951b0885875e903a32c6d4368573
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]>
drivers/infiniband/sw/rxe/rxe_comp.c
This page took 0.050759 seconds and 4 git commands to generate.