A few bug fixes, code clean up, and minor enhancements to segment routing. Changes include: - Fix SRH TLV and flag definitions (some of them are now obsolete) - Implement a TLV parsing loop - Add function to parse and return HMAC TLV in an SRH - Support to rearrange segment routing header for AH ICV calculation
Set as RFC to let experts on segment routing implemenation evaluate which of the patches are needed. Tom Herbert (6): seg6: Fix TLV definitions seg6: Implement a TLV parsing loop seg6: Obsolete unused SRH flags ah6: Create function __zero_out_mutable_opts ah6: Be explicit about which routing types are processed. seg6: Add support to rearrange SRH for AH ICV calculation include/net/seg6.h | 16 +++++++++ include/uapi/linux/seg6.h | 60 +++++++++++++++++++++++++------ net/ipv6/ah6.c | 90 +++++++++++++++++++++++++++++++++++------------ net/ipv6/exthdrs.c | 2 +- net/ipv6/seg6.c | 68 +++++++++++++++++++++-------------- net/ipv6/seg6_hmac.c | 8 ++--- net/ipv6/seg6_iptunnel.c | 4 +-- 7 files changed, 181 insertions(+), 67 deletions(-) -- 2.7.4