net: Embed hh_cache inside of struct neighbour.
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 14:53:20 +0000 (07:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 14:53:20 +0000 (07:53 -0700)
Now that there is a one-to-one correspondance between neighbour
and hh_cache entries, we no longer need:

1) dynamic allocation
2) attachment to dst->hh
3) refcounting

Initialization of the hh_cache entry is indicated by hh_len
being non-zero, and such initialization is always done with
the neighbour's lock held as a writer.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found