]> git.baikalelectronics.ru Git - kernel.git/commit
iw_cxgb4: initialize ibdev.iwcm->ifname for port mapping
authorSteve Wise <swise@opengridcomputing.com.com>
Tue, 12 Apr 2016 13:54:54 +0000 (06:54 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 26 Apr 2016 16:46:54 +0000 (12:46 -0400)
commit5782e737346c3270920e68a7bff1e0dafcdddaaf
tree645c9102aad810f519028787269f8b17d7d8051d
parent9aa849453f4230158e6cc5d18b8f3193d2c332c6
iw_cxgb4: initialize ibdev.iwcm->ifname for port mapping

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

Fixes: c74ca0cfb51d ("iw_cxgb4: remove port mapper related code")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/provider.c