summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_cmds.c
diff options
context:
space:
mode:
authorSteve Wise2009-10-08 00:51:07 +0200
committerRoland Dreier2009-10-08 00:51:07 +0200
commite5da4ed8a486113a4b0e587a0c7843e4a9c08aac (patch)
tree04114a95a06a75bc34274ffeeb0007be487e8027 /drivers/net/benet/be_cmds.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6 (diff)
downloadkernel-qcow2-linux-e5da4ed8a486113a4b0e587a0c7843e4a9c08aac.tar.gz
kernel-qcow2-linux-e5da4ed8a486113a4b0e587a0c7843e4a9c08aac.tar.xz
kernel-qcow2-linux-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 <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/benet/be_cmds.c')
0 files changed, 0 insertions, 0 deletions