diff options
| author | 2017-08-28 16:11:49 -0400 | |
|---|---|---|
| committer | 2017-08-28 19:12:31 -0400 | |
| commit | 9eb7f8e44d13cd2a565a5f088c8a842810270757 (patch) | |
| tree | 563996e5504713e2d56efb81b70b237f603f5d89 /tools/perf/scripts/python/compaction-times.py | |
| parent | IB/rdmavt: Handle dereg of inuse MRs properly (diff) | |
| download | linux-dev-9eb7f8e44d13cd2a565a5f088c8a842810270757.tar.xz linux-dev-9eb7f8e44d13cd2a565a5f088c8a842810270757.zip | |
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: fda85ce91240 ("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>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
