diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2021-03-04 13:20:49 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-03-05 14:15:22 -0400 |
commit | 545c4ab463c2224557e56b2609f88ed5be265405 (patch) | |
tree | ffa7bf5325f4ba8aec2545a65bccd2040d2b79f0 /fs/pipe.c | |
parent | 5e4a7ccc965d951b0885875e903a32c6d4368573 (diff) |
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/20210304192048.2958-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions