]> 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)
commitc5c04b77d121449facdb44454540920e8f955502
treed27fafed8b200920244132105257d9970b453865
parent386a7bf7dbed237e917628f60242ae6fda67a38a
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