Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352391
b: refs/heads/master
c: daaba4f
h: refs/heads/master
i:
  352389: a4c388f
  352387: 919d5da
  352383: 5291ac2
v: v3
  • Loading branch information
YOSHIFUJI Hideaki / 吉藤英明 authored and David S. Miller committed Feb 11, 2013
1 parent a3df130 commit e12244e
Show file tree
Hide file tree
Showing 3 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: ec16ef2228829698fdbd2f6b160ff52551a6bf8a
refs/heads/master: daaba4fa17d7826807b0b131f796543b4099ef4a
1 change: 1 addition & 0 deletions trunk/include/net/neighbour.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ struct neigh_table {
};

#define NEIGH_PRIV_ALIGN sizeof(long long)
#define NEIGH_ENTRY_SIZE(size) ALIGN((size), NEIGH_PRIV_ALIGN)

static inline void *neighbour_priv(const struct neighbour *n)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/decnet/dn_neigh.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static u32 dn_neigh_hash(const void *pkey,

struct neigh_table dn_neigh_table = {
.family = PF_DECnet,
.entry_size = sizeof(struct dn_neigh),
.entry_size = NEIGH_ENTRY_SIZE(sizeof(struct dn_neigh)),
.key_len = sizeof(__le16),
.hash = dn_neigh_hash,
.constructor = dn_neigh_construct,
Expand Down

0 comments on commit e12244e

Please sign in to comment.