]> git.baikalelectronics.ru Git - kernel.git/commit
nexthop: Add support for lwt encaps
authorDavid Ahern <dsahern@gmail.com>
Fri, 24 May 2019 21:43:07 +0000 (14:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2019 04:37:30 +0000 (21:37 -0700)
commitf51e5591c0271e04dcf52d35ab96532bdd920903
treed27fafed8b200920244132105257d9970b453865
parentb3c572c41a2b5dbf61483556497871a89e326369
nexthop: Add support for lwt encaps

Add support for NHA_ENCAP and NHA_ENCAP_TYPE. Leverages the existing code
for lwtunnel within fib_nh_common, so the only change needed is handling
the attributes in the nexthop code.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/nexthop.h
net/ipv4/nexthop.c