[v2,net-next 0/2] Add support for SRv6 End.DT4 action
From: Carmine Scarpitta
Date: Wed Mar 18 2020 - 19:18:26 EST
Hi,
this patch series adds the support for SRv6 End.DT4 action.
End.DT4 decapsulates the received packets and does IPv4 routing
lookup in a specific routing table.
The IPv4 routing subsystem does not allow to specify the routing
table in which the lookup has to be performed.
Patch 1 enables to perform IPv4 FIB lookup in a predefined FIB table.
Patch 2 adds the support for SRv6 End.DT4 action.
v2:
- Fix an issue of "fi" member of struct "fib_result" used
uninitialized
- Wrap the check of the "tbl_known" flag in a "#ifdef
CONFIG_IP_MULTIPLE_TABLES" directive
Thanks,
Carmine Scarpitta
Carmine Scarpitta (2):
Perform IPv4 FIB lookup in a predefined FIB table
Add support for SRv6 End.DT4 action
include/net/route.h | 2 +-
net/ipv4/route.c | 23 ++++++++++++++------
net/ipv6/seg6_local.c | 49 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 67 insertions(+), 7 deletions(-)
--
2.17.1