]> asedeno.scripts.mit.edu Git - linux.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)
commitb513bd035f4044aa2667fb01418918523a049b9c
treed27fafed8b200920244132105257d9970b453865
parent53010f991a9f5e4ed2db705ddde6ff32709192a2
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