RDMA/ocrdma: Fix load time panic during GID table init
authorDevesh Sharma <devesh.sharma@emulex.com>
Tue, 4 Feb 2014 06:40:48 +0000 (12:10 +0530)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Feb 2014 17:49:04 +0000 (09:49 -0800)
commit09de3f1313a30d8a22e488c9a5b96a9560cae96d
tree77acafce95796d6d395d048400479ff661cf0362
parenta61d93d92f5c9533898098abb5f187840900aeb5
RDMA/ocrdma: Fix load time panic during GID table init

We should use rdma_vlan_dev_real_dev() instead of using vlan_dev_real_dev()
when building the GID table for a vlan interface.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_main.c