]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Kill dst_copy_metrics() call from ipv4_blackhole_route().
authorDavid S. Miller <davem@davemloft.net>
Tue, 10 Jul 2012 14:03:43 +0000 (07:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jul 2012 05:40:16 +0000 (22:40 -0700)
commit8ec13b7e60a75d3ba4966f1c6d66d3ef371254f8
tree3b1bf03fa8464dfbca1f524c5f8de748b05f2331
parent8468171337e7056a91458dabbb2ef0238630a97e
ipv4: Kill dst_copy_metrics() call from ipv4_blackhole_route().

Blackhole routes have a COW metrics operation that returns NULL
always, therefore this dst_copy_metrics() call did absolutely
nothing.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c