diff options
| author | Steve Wise <[email protected]> | 2009-10-07 22:51:07 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2009-10-07 22:51:07 +0000 |
| commit | e5da4ed8a486113a4b0e587a0c7843e4a9c08aac (patch) | |
| tree | 04114a95a06a75bc34274ffeeb0007be487e8027 /lib/fault-inject.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6 (diff) | |
| download | kernel-e5da4ed8a486113a4b0e587a0c7843e4a9c08aac.tar.gz kernel-e5da4ed8a486113a4b0e587a0c7843e4a9c08aac.zip | |
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 <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
