]> git.baikalelectronics.ru Git - kernel.git/commit
neigh: Simply destroy handling wrt. hh_cache.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Jul 2011 00:36:53 +0000 (17:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jul 2011 00:36:53 +0000 (17:36 -0700)
commit088692b9de68fa054493271fd3b5879d338ff7c7
treec0e96f6775d38b79a8f7a614490f09282ccc855d
parenta0c32ad93ed92381fc7b0b86d4f8caa79988f09f
neigh: Simply destroy handling wrt. hh_cache.

Now that hh_cache entries are embedded inside of neighbour
entries, their lifetimes and accesses are now synchronous
to that of the encompassing neighbour object.

Therefore we don't need to hook up the blackhole op to
hh_output on destroy.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c