IB/rxe: Unblock loopback by moving skb_out increment
authorAndrew Boyer <andrew.boyer@dell.com>
Wed, 23 Nov 2016 17:39:20 +0000 (12:39 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Dec 2016 21:31:45 +0000 (16:31 -0500)
commitd38eb801aa145aedf4b97e8e0bb2e65763aa6149
treecbae32bff4d63cef34c315f07e8649f5947cb22a
parent2a7a85487e5432424eef7a394ed26ef1d8f0d192
IB/rxe: Unblock loopback by moving skb_out increment

skb_out is decremented in rxe_skb_tx_dtor(), which is not called in the
loopback() path. Move the increment to the send() path rather than
rxe_xmit_packet().

Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Acked-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_net.c