]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
net: Store ipv4/ipv6 COW'd metrics in inetpeer cache.
authorDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2011 22:58:42 +0000 (14:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2011 22:59:31 +0000 (14:59 -0800)
commit065825402c058f4a123ddc53dbbe864cc5caaf64
tree7d0d5122a5315c5850a0b01ed7349e9eebf794e2
parent1397e171f143878dd16ad5f8c99f7b9440cc8911
net: Store ipv4/ipv6 COW'd metrics in inetpeer cache.

Please note that the IPSEC dst entry metrics keep using
the generic metrics COW'ing mechanism using kmalloc/kfree.

This gives the IPSEC routes an opportunity to use metrics
which are unique to their encapsulated paths.

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