aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-04-23 08:23:41 -0700
committerDavid S. Miller <davem@davemloft.net>2019-04-23 19:42:29 -0700
commitffa8ce54be3aaf6b15abae3bbd08282b867d3a4f (patch)
tree73a06ba0a651afeb65f19a4ee93e296e45bfe849 /net/ipv6/route.c
parentravb: Avoid unsupported internal delay mode for R-Car E3/D3 (diff)
downloadlinux-dev-ffa8ce54be3aaf6b15abae3bbd08282b867d3a4f.tar.xz
linux-dev-ffa8ce54be3aaf6b15abae3bbd08282b867d3a4f.zip
lwtunnel: Pass encap and encap type attributes to lwtunnel_fill_encap
Currently, lwtunnel_fill_encap hardcodes the encap and encap type attributes as RTA_ENCAP and RTA_ENCAP_TYPE, respectively. The nexthop objects want to re-use this code but the encap attributes passed to userspace as NHA_ENCAP and NHA_ENCAP_TYPE. Since that is the only difference, change lwtunnel_fill_encap to take the attribute type as an input. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions