Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64535
b: refs/heads/master
c: c3609d5
h: refs/heads/master
i:
  64533: c2a44a0
  64531: 5e69445
  64527: ee66db4
v: v3
  • Loading branch information
vignesh babu authored and David S. Miller committed Aug 27, 2007
1 parent 77095ec commit 3ac713b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 26722873a460703e319462afa7ebb8ed3a036c07
refs/heads/master: c3609d510f844100669965db8a9ff10ba029bb4a
3 changes: 2 additions & 1 deletion trunk/net/core/neighbour.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <linux/rtnetlink.h>
#include <linux/random.h>
#include <linux/string.h>
#include <linux/log2.h>

#define NEIGH_DEBUG 1

Expand Down Expand Up @@ -311,7 +312,7 @@ static void neigh_hash_grow(struct neigh_table *tbl, unsigned long new_entries)

NEIGH_CACHE_STAT_INC(tbl, hash_grows);

BUG_ON(new_entries & (new_entries - 1));
BUG_ON(!is_power_of_2(new_entries));
new_hash = neigh_hash_alloc(new_entries);
if (!new_hash)
return;
Expand Down

0 comments on commit 3ac713b

Please sign in to comment.