summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-10 07:08:18 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-10 22:40:17 -0700
commit312487313d4f7177cb751830e3d9c218e42ed59e (patch)
treefeac6ec40f28f12ea7bfee8cca2df719f1f22d50 /net/ipv4/xfrm4_policy.c
parent2db2d67e4cf6100249bad575d9c13c16fd7b06dc (diff)
downloadlinux-312487313d4f7177cb751830e3d9c218e42ed59e.tar.gz
linux-312487313d4f7177cb751830e3d9c218e42ed59e.tar.xz
ipv4: Calling ->cow_metrics() now is a bug.
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>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
0 files changed, 0 insertions, 0 deletions