diff options
Diffstat (limited to 'include/net/neighbour.h')
-rw-r--r-- | include/net/neighbour.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h index 0dab173e27da..629ee573c6d0 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h | |||
@@ -184,7 +184,7 @@ struct neigh_table { | |||
184 | 184 | ||
185 | static inline void *neighbour_priv(const struct neighbour *n) | 185 | static inline void *neighbour_priv(const struct neighbour *n) |
186 | { | 186 | { |
187 | return (char *)n + ALIGN(sizeof(*n) + n->tbl->key_len, NEIGH_PRIV_ALIGN); | 187 | return (char *)n + n->tbl->entry_size; |
188 | } | 188 | } |
189 | 189 | ||
190 | /* flags for neigh_update() */ | 190 | /* flags for neigh_update() */ |