summaryrefslogtreecommitdiffstats
path: root/usr/gen_init_cpio.c
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2021-03-04 20:20:49 +0100
committerJason Gunthorpe <jgg@nvidia.com>2021-03-05 19:15:22 +0100
commit545c4ab463c2224557e56b2609f88ed5be265405 (patch)
treeffa7bf5325f4ba8aec2545a65bccd2040d2b79f0 /usr/gen_init_cpio.c
parentRDMA/rxe: Fix extra deref in rxe_rcv_mcast_pkt() (diff)
downloadlinux-545c4ab463c2224557e56b2609f88ed5be265405.tar.xz
linux-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/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 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions