]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: DNE QPs were created even with limited mode
authorKnut Omang <knut.omang@oracle.com>
Thu, 2 Jun 2016 08:38:07 +0000 (10:38 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:39 +0000 (16:01 +0200)
commitd00a3e0199bf600150331a151d74a281ec13baeb
treecb774954f066dc6e0bb5194fa4ad744dec3fe1bc
parentd4f50c76a08b8b7faf3d52faf9bce879803a9ad8
sif: DNE QPs were created even with limited mode

This could potentially lead to situations where it is not
possible to upgrade firmware.

Also make all QP creation fail in limited mode, otherwise
someone might create one and try to run traffic on it.
In particular any use of PQPs will lead to kernel null pointer
exceptions as they have not been initialized.

Signed-off-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_qp.c
drivers/infiniband/hw/sif/sif_r3.c