<br><font size=2 face="sans-serif">Here is the patch against the most recent
bit. Please review it.</font>
<br>
<br><font size=2 face="sans-serif">Signed-off-by: Shirley Ma <xma@us.ibm.com></font>
<br>
<div>
<br><font size=2 face="sans-serif">diff -urpN infiniband/ulp/ipoib/ipoib_main.c
infiniband-init/ulp/ipoib/ipoib_main.c<br>
--- infiniband/ulp/ipoib/ipoib_main.c        2005-02-24
18:06:15.000000000 +0000<br>
+++ infiniband-init/ulp/ipoib/ipoib_main.c        2005-02-24
18:07:37.000000000 +0000<br>
@@ -348,6 +348,7 @@ static struct ipoib_path *path_rec_creat<br>
 <br>
         path->dev = dev;<br>
         path->pathrec.dlid = 0;<br>
+        path->ah = NULL;<br>
 <br>
         skb_queue_head_init(&path->queue);<br>
 <br>
@@ -450,8 +451,8 @@ static void neigh_add_path(struct sk_buf<br>
 err:<br>
         *to_ipoib_neigh(skb->dst->neighbour)
= NULL;<br>
         list_del(&neigh->list);<br>
-        kfree(neigh);<br>
         neigh->neighbour->ops->destructor
= NULL;<br>
+        kfree(neigh);<br>
 <br>
         ++priv->stats.tx_dropped;<br>
         dev_kfree_skb_any(skb);<br>
@@ -673,6 +674,7 @@ static void ipoib_neigh_destructor(struc<br>
                  
      ipoib_put_ah(neigh->ah);<br>
                 list_del(&neigh->list);<br>
                 *to_ipoib_neigh(n)
= NULL;<br>
+                n->ops->destructor
= NULL;<br>
                 kfree(neigh);<br>
         }<br>
</font>
<br><font size=2 face="sans-serif"> </font>
<br>
<br><font size=2 face="sans-serif"><br>
Thanks<br>
Shirley Ma<br>
IBM Linux Technology Center<br>
15300 SW Koll Parkway<br>
Beaverton, OR 97006-6063<br>
Phone(Fax): (503) 578-7638<br>
<br>
</font></div>