git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db2d67
)
ipv4: Calling ->cow_metrics() now is a bug.
author
David S. Miller
<davem@davemloft.net>
Tue, 10 Jul 2012 14:08:18 +0000
(07:08 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 Jul 2012 05:40:17 +0000
(22:40 -0700)
Nothing every writes to ipv4 metrics any longer.
PMTU is stored in rt->rt_pmtu.
Dynamic TCP metrics are stored in a special TCP metrics cache,
completely outside of the routes.
Therefore ->cow_metrics() can simply nothing more than a WARN_ON
trigger so we can catch anyone who tries to add new writes to
ipv4 route metrics.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c
patch
|
blob
|
history
diff --cc
net/ipv4/route.c
Simple merge