commit | e5da4ed8a486113a4b0e587a0c7843e4a9c08aac | [log] [tgz] |
---|---|---|
author | Steve Wise <swise@opengridcomputing.com> | Wed Oct 07 15:51:07 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Oct 07 15:51:07 2009 -0700 |
tree | 04114a95a06a75bc34274ffeeb0007be487e8027 | |
parent | 0eca52a92735f43462165efe00a7e394345fb38e [diff] |
RDMA/cxgb3: Handle NULL inetdev pointer in iwch_query_port() in_dev_get() can return NULL. If it does, iwch_query_port() will crash. Handle the NULL case by mapping it to port state INIT. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>