]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:15:58 +0000 (16:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:18:10 +0000 (16:18 -0700)
Included changes:
- yet another batch of 'namespace cleaning' patches

Conflicts:
net/batman-adv/translation-table.c

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
net/batman-adv/translation-table.c

index 3806d9bbf55e7ee9e2c81f79aab5a4d13da9c35c,f7a615261f4e9b5946abea05e86360d5925382b5..cf7988342f2751e77473208812ab4424c65abcac
@@@ -2148,12 -2176,12 +2174,12 @@@ bool batadv_is_ap_isolated(struct bat_p
  {
        struct tt_local_entry *tt_local_entry = NULL;
        struct tt_global_entry *tt_global_entry = NULL;
 -      bool ret = true;
 +      bool ret = false;
  
        if (!atomic_read(&bat_priv->ap_isolation))
 -              return false;
 +              goto out;
  
-       tt_local_entry = tt_local_hash_find(bat_priv, dst);
+       tt_local_entry = batadv_tt_local_hash_find(bat_priv, dst);
        if (!tt_local_entry)
                goto out;
  
        if (!tt_global_entry)
                goto out;
  
-       if (!_is_ap_isolated(tt_local_entry, tt_global_entry))
+       if (_batadv_is_ap_isolated(tt_local_entry, tt_global_entry))
                goto out;
  
 -      ret = false;
 +      ret = true;
  
  out:
        if (tt_global_entry)