commit | 33cf601da7a42b1a78d04746aea47b85ccb5c49b | [log] [tgz] |
---|---|---|
author | Ka-Cheong Poon <ka-cheong.poon@oracle.com> | Mon Jun 15 00:40:25 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 15 12:58:59 2020 -0700 |
tree | 79d9aecaa8670ac58a653964bf8caa04cd4c1e31 | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 [diff] |
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>