Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214956
b: refs/heads/master
c: 767e97e
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 7, 2010
1 parent 5a30085 commit 1a6ba3b
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 55 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: 546add79468183f266c75c632c96e4b0029e0d96
refs/heads/master: 767e97e1e0db0d0f3152cd2f3bd3403596aedbad
5 changes: 3 additions & 2 deletions trunk/include/net/neighbour.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct neigh_statistics {
#define NEIGH_CACHE_STAT_INC(tbl, field) this_cpu_inc((tbl)->stats->field)

struct neighbour {
struct neighbour *next;
struct neighbour __rcu *next;
struct neigh_table *tbl;
struct neigh_parms *parms;
struct net_device *dev;
Expand All @@ -111,6 +111,7 @@ struct neighbour {
struct sk_buff_head arp_queue;
struct timer_list timer;
const struct neigh_ops *ops;
struct rcu_head rcu;
u8 primary_key[0];
};

Expand Down Expand Up @@ -139,7 +140,7 @@ struct pneigh_entry {
*/

struct neigh_hash_table {
struct neighbour **hash_buckets;
struct neighbour __rcu **hash_buckets;
unsigned int hash_mask;
__u32 hash_rnd;
struct rcu_head rcu;
Expand Down
Loading

0 comments on commit 1a6ba3b

Please sign in to comment.