diff options
author | Andrew Boyer <andrew.boyer@dell.com> | 2017-08-28 16:11:55 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-28 19:12:34 -0400 |
commit | 825a51a4af82fd90c1fd98b080439d8593972457 (patch) | |
tree | 756d13980e4ceac6710275a09a7e25269cd7a2bb /drivers/infiniband/sw/rxe/rxe_req.c | |
parent | IB/rxe: Add dst_clone() in prepare_ipv6_hdr() (diff) | |
download | linux-dev-825a51a4af82fd90c1fd98b080439d8593972457.tar.xz linux-dev-825a51a4af82fd90c1fd98b080439d8593972457.zip |
IB/rxe: Fix up rxe_qp_cleanup()
Replace sk_dst_get()/dst_release() in rxe_qp_cleanup() with sk_dst_reset().
sk_dst_get() takes a new reference on dst, so the dst_release() doesn't
actually release the original reference, which was the design intent.
Fixes: 4ed6ad1eb30e ("IB/rxe: Cache dst in QP instead of getting it...")
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_req.c')
0 files changed, 0 insertions, 0 deletions