Colin Ian King
5f6ac2cee2
scsi: bfa: Do not dereference port before it is null checked
...
Port is deferenced before it is null sanity checked, hence we
potentially have a null pointer dereference bug. Instead, initialise
trl_enabled from port->fcs->bfa after we are sure port is not null.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-09-02 06:09:16 -04:00
..
2016-02-23 21:27:02 -05:00
2016-02-23 21:27:02 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2016-05-09 22:18:42 -04:00
2016-09-02 06:09:16 -04:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2016-05-09 22:18:42 -04:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2016-02-23 21:27:02 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:57 -05:00
2016-05-09 22:18:42 -04:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2015-12-02 17:07:38 -05:00
2016-05-19 19:12:14 -07:00
2011-06-29 15:59:53 -05:00