Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287100
b: refs/heads/master
c: 7525c85
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Jan 27, 2012
1 parent d11bc6d commit e509511
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 81f99dcc93226c7accfe5c4edad1749b8aebf7db
refs/heads/master: 7525c85be0e6d18596390e7e2b17a206cd9777f6
5 changes: 3 additions & 2 deletions trunk/drivers/infiniband/hw/nes/nes_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1363,8 +1363,7 @@ static int nes_addr_resolve_neigh(struct nes_vnic *nesvnic, u32 dst_ip, int arpi
if (!memcmp(nesadapter->arp_table[arpindex].mac_addr,
neigh->ha, ETH_ALEN)) {
/* Mac address same as in nes_arp_table */
ip_rt_put(rt);
return rc;
goto out;
}

nes_manage_arp_cache(nesvnic->netdev,
Expand All @@ -1380,6 +1379,8 @@ static int nes_addr_resolve_neigh(struct nes_vnic *nesvnic, u32 dst_ip, int arpi
neigh_event_send(neigh, NULL);
}
}

out:
rcu_read_unlock();
ip_rt_put(rt);
return rc;
Expand Down

0 comments on commit e509511

Please sign in to comment.