net: fix __dst_destroy_metrics_generic()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 24 May 2011 17:29:50 +0000 (13:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 May 2011 17:29:50 +0000 (13:29 -0400)
commitb30c516f875004f025f4d10147bde28c5e98466b
tree066a6d57ec1cbdf0bfe7219a57bad1459b89773f
parent19694ac88d4a73c6f12159d9e53bd636319a69dc
net: fix __dst_destroy_metrics_generic()

dst_default_metrics is readonly, we dont want to kfree() it later.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dst.c