git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eca52a
)
RDMA/cxgb3: Handle NULL inetdev pointer in iwch_query_port()
author
Steve Wise
<swise@opengridcomputing.com>
Wed, 7 Oct 2009 22:51:07 +0000
(15:51 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 7 Oct 2009 22:51:07 +0000
(15:51 -0700)
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>
No differences found