IB/core: Add netdev and gid attributes paramteres to cache
[linux-2.6-block.git] / drivers / infiniband / core / mad.c
index 4b5c72311debbe59ae0975ec6d0fa722db13234e..fa63b89e15aac7ece9de389dca05ee2316fa7ec9 100644 (file)
@@ -1877,7 +1877,7 @@ static inline int rcv_has_same_gid(const struct ib_mad_agent_private *mad_agent_
                                          ((1 << lmc) - 1)));
                } else {
                        if (ib_get_cached_gid(device, port_num,
-                                             attr.grh.sgid_index, &sgid))
+                                             attr.grh.sgid_index, &sgid, NULL))
                                return 0;
                        return !memcmp(sgid.raw, rwc->recv_buf.grh->dgid.raw,
                                       16);