diff options
author | David Lebrun <david.lebrun@uclouvain.be> | 2017-08-05 12:38:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 14:16:21 -0700 |
commit | 925615ceda94532ba612e641549c7b1e41ebff10 (patch) | |
tree | 1374063b52a06890df93237df688d68405c0af0f /include/net/seg6.h | |
parent | 4cc7b9544b9a904add353406ed1bacbf56f75c52 (diff) |
ipv6: sr: allow SRH insertion with arbitrary segments_left value
The seg6_validate_srh() function only allows SRHs whose active segment is
the first segment of the path. However, an application may insert an SRH
whose active segment is not the first one. Such an application might be
for example an SR-aware Virtual Network Function.
This patch enables to insert SRHs with an arbitrary active segment.
Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/seg6.h')
0 files changed, 0 insertions, 0 deletions