diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2011-09-05 21:34:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-17 00:57:26 -0400 |
commit | 8e2ec639173f325977818c45011ee176ef2b11f6 (patch) | |
tree | 2b194fa7556bcde37cdc4d28042a5bdf86d0f2ff /drivers/net | |
parent | 34b8686d278f00fb16234e74be44c253d6d6b676 (diff) | |
download | op-kernel-dev-8e2ec639173f325977818c45011ee176ef2b11f6.zip op-kernel-dev-8e2ec639173f325977818c45011ee176ef2b11f6.tar.gz |
ipv6: don't use inetpeer to store metrics for routes.
Current IPv6 implementation uses inetpeer to store metrics for
routes. The problem of inetpeer is that it doesn't take subnet
prefix length in to consideration. If two routes have the same
address but different prefix length, they share same inetpeer.
So changing metrics of one route also affects the other. The
fix is to allocate separate metrics storage for each route.
Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions