]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd86637071b9fd2b1e9c039b05ebb3892568ec2f4
tree53129e5d008014483a6591afaeb79266b2976837
parent8d26da75865dd49578b7f2be136ecdee5018aeb7
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: 85cc94e9bde3 ("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