aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorAndrea Mayer <andrea.mayer@uniroma2.it>2019-11-22 17:22:42 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-22 09:45:55 -0800
commitfd1fef0c453df60921472008f436189ed351f9e2 (patch)
treed64a8d19044095168dc252356103ad9166cdbb45 /net/ipv4
parentnet: flow_dissector: Wrap unionized VLAN fields in a struct (diff)
downloadlinux-dev-fd1fef0c453df60921472008f436189ed351f9e2.tar.xz
linux-dev-fd1fef0c453df60921472008f436189ed351f9e2.zip
seg6: allow local packet processing for SRv6 End.DT6 behavior
End.DT6 behavior makes use of seg6_lookup_nexthop() function which drops all packets that are destined to be locally processed. However, DT* should be able to deliver decapsulated packets that are destined to local addresses. Function seg6_lookup_nexthop() is also used by DX6, so in order to maintain compatibility I created another routing helper function which is called seg6_lookup_any_nexthop(). This function is able to take into account both packets that have to be processed locally and the ones that are destined to be forwarded directly to another machine. Hence, seg6_lookup_any_nexthop() is used in DT6 rather than seg6_lookup_nexthop() to allow local delivery. Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions