diff options
Diffstat (limited to 'drivers/infiniband/core/addr.c')
-rw-r--r-- | drivers/infiniband/core/addr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c index e4eb8be3bb0c..09a2bec7fd32 100644 --- a/drivers/infiniband/core/addr.c +++ b/drivers/infiniband/core/addr.c | |||
@@ -105,6 +105,7 @@ int rdma_copy_addr(struct rdma_dev_addr *dev_addr, struct net_device *dev, | |||
105 | memcpy(dev_addr->broadcast, dev->broadcast, MAX_ADDR_LEN); | 105 | memcpy(dev_addr->broadcast, dev->broadcast, MAX_ADDR_LEN); |
106 | if (dst_dev_addr) | 106 | if (dst_dev_addr) |
107 | memcpy(dev_addr->dst_dev_addr, dst_dev_addr, MAX_ADDR_LEN); | 107 | memcpy(dev_addr->dst_dev_addr, dst_dev_addr, MAX_ADDR_LEN); |
108 | dev_addr->src_dev = dev; | ||
108 | return 0; | 109 | return 0; |
109 | } | 110 | } |
110 | EXPORT_SYMBOL(rdma_copy_addr); | 111 | EXPORT_SYMBOL(rdma_copy_addr); |