]> git.baikalelectronics.ru Git - kernel.git/commit
net: Kill support for multiple hh_cache entries per neighbour
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2011 07:51:10 +0000 (00:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2011 09:29:59 +0000 (02:29 -0700)
commitb95add74568d7cde03d27502a8ffa4efdfa3e247
tree20b1d6797b0d9d6757e2e367ceb6cc4fe866acbe
parentc071342e96e79287483ee0620e7d4802c0eb95f8
net: Kill support for multiple hh_cache entries per neighbour

This never, ever, happens.

Neighbour entries are always tied to one address family, and therefore
one set of dst_ops, and therefore one dst_ops->protocol "hh_type"
value.

This capability was blindly imported by Alexey Kuznetsov when he wrote
the neighbour layer.

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