diff options
author | Andrew Lunn <[email protected]> | 2022-01-03 18:11:30 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-04 12:17:35 +0000 |
commit | fa55a7d745de2d10489295b0674a403e2a5d490d (patch) | |
tree | acc2231d961e34eea340484bacbf1bcc15539deb /net/lapb/lapb_timer.c | |
parent | e8fe9e8308b227002d68d6a32bbd141386727328 (diff) |
seg6: export get_srh() for ICMP handling
An ICMP error message can contain in its message body part of an IPv6
packet which invoked the error. Such a packet might contain a segment
router header. Export get_srh() so the ICMP code can make use of it.
Since his changes the scope of the function from local to global, add
the seg6_ prefix to keep the namespace clean. And move it into seg6.c
so it is always available, not just when IPV6_SEG6_LWTUNNEL is
enabled.
Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions