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:18 -0400 |
commit | 5e4a7ccc965d951b0885875e903a32c6d4368573 (patch) | |
tree | 152024c964748ef89561f30457e056675666a900 /drivers/hwmon/gpio-fan.c | |
parent | 21e27ac82db637d2f48f07b3777aae8e7ca52613 (diff) |
RDMA/rxe: Fix extra deref in rxe_rcv_mcast_pkt()
rxe_rcv_mcast_pkt() dropped a reference to ib_device when no error
occurred causing an underflow on the reference counter. This code is
cleaned up to be clearer and easier to read.
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 'drivers/hwmon/gpio-fan.c')
0 files changed, 0 insertions, 0 deletions