<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/infiniband/ulp, branch linux-2.6.21.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.21.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.21.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-04-10T15:58:30Z</updated>
<entry>
<title>IPoIB/cm: Fix DMA direction typo</title>
<updated>2007-04-10T15:58:30Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2007-04-10T15:32:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6371ea3d48e17d4638a91a4a1e0364e56204e418'/>
<id>urn:sha1:6371ea3d48e17d4638a91a4a1e0364e56204e418</id>
<content type='text'>
Receive buffers need to be mapped with DMA_FROM_DEVICE.  Incorrectly
mapping with DMA_TO_DEVICE causes a hard lock on ppc64 machines with
an IOMMU.

This fixes &lt;https://bugs.openfabrics.org/show_bug.cgi?id=431&gt;

Signed-off-by: Michael S. Tsirkin &lt;mst@dev.mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IB/iser: Don't defer connection failure notification to workqueue</title>
<updated>2007-04-05T16:46:04Z</updated>
<author>
<name>Erez Zilber</name>
</author>
<published>2007-04-01T10:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d426d6418d1914b592c9c307c02e488d9182fa8'/>
<id>urn:sha1:1d426d6418d1914b592c9c307c02e488d9182fa8</id>
<content type='text'>
When a connection is terminated asynchronously from the iSCSI layer's
perspective, iSER needs to notify the iSCSI layer that the connection
has failed.  This is done using a workqueue (switched to from the iSER
tasklet context).  Meanwhile, the connection object (that holds the
work struct) is released.  If the workqueue function wasn't called
yet, it will be called later with a NULL pointer, which will crash the
kernel.

The context switch (tasklet to workqueue) is not required, and
everything can be done from the iSER tasklet. This eliminates the NULL
work struct bug (and simplifies the code).

Signed-off-by: Erez Zilber &lt;erezz@voltaire.com&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband</title>
<updated>2007-03-28T21:00:01Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2007-03-28T21:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a26b5fce06b92b2f02967d4c845fa628024e5414'/>
<id>urn:sha1:a26b5fce06b92b2f02967d4c845fa628024e5414</id>
<content type='text'>
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
  IB/iser: Handle aborting a command after it is sent
  IB/mthca: Fix thinko in init_mr_table()
  RDMA/cxgb3: Fix resource leak in cxio_hal_init_ctrl_qp()
</content>
</entry>
<entry>
<title>IB/iser: Handle aborting a command after it is sent</title>
<updated>2007-03-26T23:35:09Z</updated>
<author>
<name>Erez Zilber</name>
</author>
<published>2007-03-25T10:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3104a2175dc04b7a597acea90f19b033abcfc7d8'/>
<id>urn:sha1:3104a2175dc04b7a597acea90f19b033abcfc7d8</id>
<content type='text'>
The SCSI midlayer may abort a command that was already sent.  If the
initiator is still trying to send the command (or data-out PDUs for
that command), the QP may time out after the midlayer times
out. Therefore, when aborting the command, iSER may still have
references for the command's buffers.  When sending these PDUs, the
sends will complete with an error and their resources will be released
then.

Signed-off-by: Erez Zilber &lt;erezz@voltaire.com&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>[NET]: Fix neighbour destructor handling.</title>
<updated>2007-03-26T01:48:01Z</updated>
<author>
<name>Alexey Kuznetsov</name>
</author>
<published>2007-03-24T19:52:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ecbb416939da77c0d107409976499724baddce7b'/>
<id>urn:sha1:ecbb416939da77c0d107409976499724baddce7b</id>
<content type='text'>
-&gt;neigh_destructor() is killed (not used), replaced with
-&gt;neigh_cleanup(), which is called when neighbor entry goes to dead
state. At this point everything is still valid: neigh-&gt;dev,
neigh-&gt;parms etc.

The device should guarantee that dead neighbor entries (neigh-&gt;dead !=
0) do not get private part initialized, otherwise nobody will cleanup
it.

I think this is enough for ipoib which is the only user of this thing.
Initialization private part of neighbor entries happens in ipib
start_xmit routine, which is not reached when device is down.  But it
would be better to add explicit test for neigh-&gt;dead in any case.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>IB/ipoib: Fix thinko in packet length checks</title>
<updated>2007-03-22T21:40:16Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2007-03-21T13:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77d8e1efea0e313edc710160c232a6fd2dc9f907'/>
<id>urn:sha1:77d8e1efea0e313edc710160c232a6fd2dc9f907</id>
<content type='text'>
The packet length checks in ipoib are broken: we add 4 bytes (IPoIB
encapsulation header) when sending a packet, not 20 bytes (hardware
address length) to each packet.  Therefore, if connected mode is
enabled so that the interface MTU is larger than the multicast MTU,
IPoIB may end up trying to send too-long multicast packets.  For
example, multicast is broken if a message of size 2048 bytes is sent
on an interface with UD MTU 2048, because 2048 is bigger than the real
limit of 2044 but the code tests against the wrong limit of 2060.

This patch fixes &lt;https://bugs.openfabrics.org/show_bug.cgi?id=418&gt;,
submitted by Scott Weitzenkamp &lt;sweitzen@cisco.com&gt;.

Signed-off-by: Michael S. Tsirkin &lt;mst@dev.mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;

</content>
</entry>
<entry>
<title>IPoIB: Fix use-after-free in path_rec_completion()</title>
<updated>2007-03-22T21:40:16Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2007-03-22T21:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d04d01b113be5b88418eb30087753c3de0a39fd8'/>
<id>urn:sha1:d04d01b113be5b88418eb30087753c3de0a39fd8</id>
<content type='text'>
The connected mode code added the possibility that an neigh struct
gets freed in the list_for_each_entry() loop in path_rec_completion(),
which causes a use-after-free.  Fix this by changing to the _safe
variant of the list walking macro.

This was spotted by the Coverity checker (CID 1567).

Signed-off-by: Michael S. Tsirkin &lt;mst@dev.mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Fix race in detaching from mcast group before attaching</title>
<updated>2007-03-22T21:32:09Z</updated>
<author>
<name>Sean Hefty</name>
</author>
<published>2007-03-19T22:31:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e07832b66285124038a96b25a2056e91a55d8b1e'/>
<id>urn:sha1:e07832b66285124038a96b25a2056e91a55d8b1e</id>
<content type='text'>
There's a race between ipoib_mcast_leave() and ipoib_mcast_join_finish()
where we can try to detach from a multicast group before we've
attached to it.  Fix this by reordering the code in ipoib_mcast_leave
to free the multicast group first, which waits for the multicast
callback thread (which calls ipoib_mcast_join_finish()) to complete
before detaching from the group.

Signed-off-by: Sean Hefty &lt;sean.hefty@intel.com&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB/cm: Fix reaping of stale connections</title>
<updated>2007-03-22T21:32:09Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2007-03-22T21:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60a596dab7c82bdfa5ee7abcee8e0ce385d4ef21'/>
<id>urn:sha1:60a596dab7c82bdfa5ee7abcee8e0ce385d4ef21</id>
<content type='text'>
The sense of the time_after_eq() test in ipoib_cm_stale_task() is
reversed so that only non-stale connections are reaped.  Fix this by
changing to time_before_eq().

Noticed by Pradeep Satyanarayana &lt;pradeep@us.ibm.com&gt;.

Signed-off-by: Michael S. Tsirkin &lt;mst@dev.mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Turn on interface's carrier after broadcast group is joined</title>
<updated>2007-03-08T22:59:30Z</updated>
<author>
<name>Shirley Ma</name>
</author>
<published>2007-03-08T22:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55c9adde13dfc6b738e0f70c071a0622e52f35ed'/>
<id>urn:sha1:55c9adde13dfc6b738e0f70c071a0622e52f35ed</id>
<content type='text'>
Do netif_carrier_on() right after the IPv4 broadcast multicast group
is joined, rather than waiting for all of the initial set of multicast
group joins to finish.  This allows at least IPv4 traffic to limp
along on broken fabrics where not all multicast groups can be joined.

Signed-off-by: Shirley Ma &lt;xma@us.ibm.com&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
</feed>
