Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2017-01-27 12:38:00 +0100
committerJohannes Thumshirn <jthumshirn@suse.de>2017-01-27 12:58:28 +0100
commit72cf164f5de6c049d14606b80cf6471836ff243f (patch)
tree577fa75116c45888738e77e81a7b04c0efa3089a
parentefbb6b7a3a4dca2119961ba38d3c1d1c3c771343 (diff)
- IB/rxe: Don't check for null ptr in send() (FATE#322149).rpm-4.4.44-1
- Update config files. - supported.conf: Add rxe to the list of supported modules suse-commit: bf38d921b0b74935d6fc043c3b8c393f63db7208
-rw-r--r--drivers/infiniband/sw/rxe/rxe_net.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_net.c b/drivers/infiniband/sw/rxe/rxe_net.c
index 16967cdb45df..342e78163613 100644
--- a/drivers/infiniband/sw/rxe/rxe_net.c
+++ b/drivers/infiniband/sw/rxe/rxe_net.c
@@ -455,8 +455,7 @@ static int send(struct rxe_dev *rxe, struct rxe_pkt_info *pkt,
return -EAGAIN;
}
- if (pkt->qp)
- atomic_inc(&pkt->qp->skb_out);
+ atomic_inc(&pkt->qp->skb_out);
kfree_skb(skb);
return 0;