]> 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)
commit3b4aa50a7fb2dbb9d83e733925272f679fa5683d
tree3b1bf03fa8464dfbca1f524c5f8de748b05f2331
parentaf626f24d1b7640f9f68f10076b2f8ace2cac635
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