Merge branch 'batman-adv/next' of git://git.open-mesh.org/ecsv/linux-merge
authorDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2011 08:37:13 +0000 (00:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2011 08:37:13 +0000 (00:37 -0800)
1  2 
net/batman-adv/unicast.c
net/batman-adv/vis.c

Simple merge
index 7db9ad82cc00ebe2d7fb35634dec34d258189784,3da499baf59117d35b37d3caa14a9c9ca19d5c59..f90212f420828f9b59ad8924b021ef23644da66b
@@@ -442,10 -470,10 +471,10 @@@ static struct vis_info *add_packet(stru
  
        /* try to add it */
        hash_added = hash_add(bat_priv->vis_hash, vis_info_cmp, vis_info_choose,
-                             info);
+                             info, &info->hash_entry);
        if (hash_added < 0) {
                /* did not work (for some reason) */
 -              kref_put(&old_info->refcount, free_info);
 +              kref_put(&info->refcount, free_info);
                info = NULL;
        }