diff options
author | Jon Mason <jon.mason@intel.com> | 2013-07-15 13:23:47 -0700 |
---|---|---|
committer | Jon Mason <jon.mason@intel.com> | 2013-09-03 11:13:12 -0700 |
commit | 3b12a0d15bd1559e72ad21d9d807fd2a6706f0ab (patch) | |
tree | 3209814c56be95926ee8fae65b2b95f752f059a8 /fs/ceph/super.h | |
parent | 6e4664525b1db28f8c4e1130957f70a94c19213e (diff) | |
download | linux-3b12a0d15bd1559e72ad21d9d807fd2a6706f0ab.tar.gz linux-3b12a0d15bd1559e72ad21d9d807fd2a6706f0ab.tar.bz2 linux-3b12a0d15bd1559e72ad21d9d807fd2a6706f0ab.zip |
NTB: Add Error Handling in ntb_device_setup
If an error is encountered in ntb_device_setup, it is possible that the
spci_cmd isn't populated. Writes to the offset can result in a NULL
pointer dereference. This issue is easily encountered by running in
NTB-RP mode, as it currently is not supported and will generate an
error. To get around this issue, return if an error is encountered
prior to attempting to write to the spci_cmd offset.
Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'fs/ceph/super.h')
0 files changed, 0 insertions, 0 deletions