iw_cxgb3: initialize ibdev.iwcm->ifname for port mapping
authorSteve Wise <swise@opengridcomputing.com>
Tue, 12 Apr 2016 13:55:01 +0000 (06:55 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 26 Apr 2016 16:46:54 +0000 (12:46 -0400)
commitad202348fe3fa8187c43af5ab5b86fe6de057bd3
tree53129e5d008014483a6591afaeb79266b2976837
parent851d7b6b8a954b28f85e62a53cbba472907e21e4
iw_cxgb3: initialize ibdev.iwcm->ifname for port mapping

The IWCM uses ibdev.iwcm->ifname for registration with the iwarp
port map daemon.  But iw_cxgb3 did not initialize this field which
causes intermittent registration failures based on the contents of the
uninitialized memory.

Fixes: c1340e8aa628 ("iw_cxgb3: support for iWARP port mapping")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c