OSDN Git Service

Merge branch 'ipv4-Move-location-of-pcpu-route-cache-and-exceptions'
authorDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 07:47:16 +0000 (00:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 07:47:16 +0000 (00:47 -0700)
commitf4b47a5945a93c3a6bae1af982e2735973cbd445
tree4cdde0098637ed6a22c17ff1988f118fd8508e73
parenta734d1f4c2fc962ef4daa179e216df84a8ec5f84
parenta5995e7107eb3d9c44744d3cf47d49fabfef01f5
Merge branch 'ipv4-Move-location-of-pcpu-route-cache-and-exceptions'

David Ahern says:

====================
ipv4: Move location of pcpu route cache and exceptions

This series moves IPv4 pcpu cached routes from fib_nh to fib_nh_common
to make the caches available for IPv6 nexthops (fib6_nh) with IPv4
routes. This allows a fib6_nh struct to be used with both IPv4 and
and IPv6 routes.

v4
- fixed memleak if encap_type is not set as noticed by Ido

v3
- dropped ipv6 patches for now. Will resubmit those once the existing
  refcnt problem is fixed

v2
- reverted patch 2 to use ifdef CONFIG_IP_ROUTE_CLASSID instead
  of IS_ENABLED(CONFIG_IP_ROUTE_CLASSID) to fix compile issues
  reported by kbuild test robot
====================

Signed-off-by: David S. Miller <davem@davemloft.net>