kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #01982
[Bug 1205741] [NEW] The route metrics added "ip route" are not being inherited by route cache entries
Public bug reported:
There is a bug in the the management of inet peers which prevents route metrics like initcwnd from being inherited by route
cache entries. An example:
$ ip route show
default via 172.16.231.2 dev eth0 metric 100
172.16.231.0/24 dev eth0 proto kernel scope link src 172.16.231.26
$ ip route show cache
local 172.16.231.26 from 172.16.231.1 dev lo src 172.16.231.26
cache <local,src-direct> iif eth0
172.16.231.1 from 172.16.231.26 dev eth0
cache ipid 0xa13f
$ ip route change 172.16.231.0/24 dev eth0 proto kernel scope link
src 172.16.231.26 initcwnd lock 100
$ ip route show
default via 172.16.231.2 dev eth0 metric 100
172.16.231.0/24 dev eth0 proto kernel scope link src 172.16.231.26 initcwnd
lock 100
$ ip route show cache
172.16.231.1 from 172.16.231.26 dev eth0
cache ipid 0xa13f rtt 4ms rttvar 4ms cwnd 40
local 172.16.231.26 from 172.16.231.1 dev lo src 172.16.231.26
cache <local,src-direct> iif eth0
Note that the initcwnd metric is not being inherited by the cache entry for 172.16.231.1. The problem is that the
inetpeer cache is not flushed when the "ip route change" occurs. Without this the metrics in the inetpeer are used
to build the metrics of the route cache entry even though they are stale.
A fix for this bug is in the 3.5.0 kernel from quantal. It is a simple
fix and could be easily applied to the 3.2.0 line of kernels.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Package changed: ubuntu => linux (Ubuntu)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1205741
Title:
The route metrics added "ip route" are not being inherited by route
cache entries
Status in “linux” package in Ubuntu:
New
Bug description:
There is a bug in the the management of inet peers which prevents route metrics like initcwnd from being inherited by route
cache entries. An example:
$ ip route show
default via 172.16.231.2 dev eth0 metric 100
172.16.231.0/24 dev eth0 proto kernel scope link src 172.16.231.26
$ ip route show cache
local 172.16.231.26 from 172.16.231.1 dev lo src 172.16.231.26
cache <local,src-direct> iif eth0
172.16.231.1 from 172.16.231.26 dev eth0
cache ipid 0xa13f
$ ip route change 172.16.231.0/24 dev eth0 proto kernel scope link
src 172.16.231.26 initcwnd lock 100
$ ip route show
default via 172.16.231.2 dev eth0 metric 100
172.16.231.0/24 dev eth0 proto kernel scope link src 172.16.231.26 initcwnd
lock 100
$ ip route show cache
172.16.231.1 from 172.16.231.26 dev eth0
cache ipid 0xa13f rtt 4ms rttvar 4ms cwnd 40
local 172.16.231.26 from 172.16.231.1 dev lo src 172.16.231.26
cache <local,src-direct> iif eth0
Note that the initcwnd metric is not being inherited by the cache entry for 172.16.231.1. The problem is that the
inetpeer cache is not flushed when the "ip route change" occurs. Without this the metrics in the inetpeer are used
to build the metrics of the route cache entry even though they are stale.
A fix for this bug is in the 3.5.0 kernel from quantal. It is a
simple fix and could be easily applied to the 3.2.0 line of kernels.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1205741/+subscriptions
Follow ups
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Launchpad Bug Tracker, 2013-10-21
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-10-09
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-10-08
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-10-07
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-10-07
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Brad Figg, 2013-10-07
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Launchpad Bug Tracker, 2013-10-03
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-09-23
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Andy Whitcroft, 2013-09-11
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Joseph Salisbury, 2013-09-09
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-09-09
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Joseph Salisbury, 2013-08-16
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Joseph Salisbury, 2013-08-08
-
[Bug 1205741] WifiSyslog.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] UdevLog.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] UdevDb.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] ProcModules.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] ProcInterrupts.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] ProcCpuinfo.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] PciMultimedia.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] Lspci.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] CurrentDmesg.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] Card0.Codecs.codec97.0.ac97.0.0.regs.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] Card0.Codecs.codec97.0.ac97.0.0.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] BootDmesg.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] AlsaDevices.txt
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] Re: The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] Missing required logs.
From: Brad Figg, 2013-07-28
-
[Bug 1205741] [NEW] The route metrics added "ip route" are not being inherited by route cache entries
From: Tim Hartrick, 2013-07-28
-
[Bug 1205741] [NEW] The route metrics added "ip route" are not being inherited by route cache entries
From: Launchpad Bug Tracker, 2013-07-28
References