commit | 5cc8fabc5e4c588c75a5ec21423e7c3425f69f48 | [log] [tgz] |
---|---|---|
author | Andrew Boyer <andrew.boyer@dell.com> | Thu Dec 22 08:54:38 2016 -0500 |
committer | Doug Ledford <dledford@redhat.com> | Thu Dec 22 11:36:12 2016 -0500 |
tree | c38c9f9bdcdb1c29b3404a752832bb55098e8a08 | |
parent | cbf1f9a46c9c5903e34b0b110ca40b1e7d4b2ab1 [diff] |
IB/rxe: Don't check for null ptr in send() pkt->qp was already dereferenced earlier in the function. Fixes Smatch complaint: drivers/infiniband/sw/rxe/rxe_net.c:458 send() warn: variable dereferenced before check 'pkt->qp' (see line 441) Signed-off-by: Andrew Boyer <andrew.boyer@dell.com> Signed-off-by: Doug Ledford <dledford@redhat.com>