IB/rxe: replace refcount_inc with skb_get
authorZhu Yanjun <yanjun.zhu@oracle.com>
Tue, 10 Apr 2018 13:37:39 +0000 (09:37 -0400)
committerDoug Ledford <dledford@redhat.com>
Thu, 19 Apr 2018 17:58:16 +0000 (13:58 -0400)
commitfe896ceb577252966ec3339d511424e2495e1072
tree7e1a166dcbc1ff4e4c2675f8d08d065b26d679ca
parent2e47350789ebbc002b06d4549f60b5f9cba326ea
IB/rxe: replace refcount_inc with skb_get

Follow the advice from Bart, the function refcount_inc is replaced
with skb_get in commit 99dae690255e ("IB/rxe: optimize mcast recv process")
and commit 86af61764151 ("IB/rxe: remove unnecessary skb_clone").

CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Suggested-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_recv.c
drivers/infiniband/sw/rxe/rxe_resp.c