summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-14 16:53:20 +0200
committerDavid S. Miller <davem@davemloft.net>2011-07-14 16:53:20 +0200
commitf6b72b6217f8c24f2a54988e58af858b4e66024d (patch)
treec59d5adcf9bb226db6f602c5078106052524cfea /drivers/infiniband/core
parentslip: remove dead code within the slip initialization (diff)
downloadlinux-f6b72b6217f8c24f2a54988e58af858b4e66024d.tar.xz
linux-f6b72b6217f8c24f2a54988e58af858b4e66024d.zip
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 <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions