From: David S. Miller Date: Thu, 14 Jul 2011 14:53:20 +0000 (-0700) Subject: net: Embed hh_cache inside of struct neighbour. X-Git-Tag: v3.1-rc1~316^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6b72b6217f8c24f2a54988e58af858b4e66024d;p=pandora-kernel.git net: Embed hh_cache inside of struct neighbour. 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 --- Reading git-diff-tree failed