diff options
author | Ka-Cheong Poon <ka-cheong.poon@oracle.com> | 2020-06-15 00:40:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-15 12:58:59 -0700 |
commit | 33cf601da7a42b1a78d04746aea47b85ccb5c49b (patch) | |
tree | 79d9aecaa8670ac58a653964bf8caa04cd4c1e31 /include/rdma | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-33cf601da7a42b1a78d04746aea47b85ccb5c49b.tar.bz2 |
net/rds: NULL pointer de-reference in rds_ib_add_one()
The parent field of a struct device may be NULL. The macro
ibdev_to_node() should check for that.
Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions