linux/drivers/infiniband/sw
Andrew Boyer 9eb7f8e44d IB/rxe: Move refcounting earlier in rxe_send()
The network stack will call nskb's destructor, rxe_skb_tx_dtor(), if the
packet gets dropped by ip_local_out()/ip6_local_out(). Thus we need to add
the QP ref before output to avoid extra dereferences during network
congestion. This could lead to unwanted destruction of the QP.

Fix up the skb_out accounting, too.

Fixes: fda85ce912 ("IB/rxe: Fix kernel panic from skb destructor")
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Acked-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-28 19:12:31 -04:00
..
rdmavt IB/rdmavt: Handle dereg of inuse MRs properly 2017-08-28 19:12:31 -04:00
rxe IB/rxe: Move refcounting earlier in rxe_send() 2017-08-28 19:12:31 -04:00
Makefile Soft RoCE driver 2016-08-04 11:13:12 -04:00