]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: BZ 4138: Fix a NULL pointer dereference in RDS during tear-down
authorWei Lin Guay <wei.lin.guay@oracle.com>
Tue, 31 May 2016 05:51:32 +0000 (07:51 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:46 +0000 (16:01 +0200)
commit77d8d61a22ed6ce29c4ce627abd261af5f3318be
treed08069050d0d7183d513a4deb57cf3d3b718d8b6
parenta8db63e97e4a0019235c901087b5852d06fe2297
sif: BZ 4138: Fix a NULL pointer dereference in RDS during tear-down

The issue is in the rqflush where the hardware view cannot be
trusted and SIF driver needs to rely on the software view. In
this case, software must wait for 1s to ensure that all the
completions are back. If the software counter is different
than the hardware view, the software counter will be used.

This issue is observed in Orabug: 23490618.

Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_rq.c