aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-06-20 10:08:39 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-06-20 13:24:54 +0200
commitf2bfa3b3aba781e0990ff592aebf36338b0ed821 (patch)
tree76b4e10a8efca376d2c4c9bbf7d204dbbc76954c /pkg/report/testdata/linux
parent6247d1c3f73bab8fccd7b0d608d1a0aaf07fecdb (diff)
sys/linux: fix tunnel descriptions
sit devices are ipv4 even that it's source is in net/ipv6. The address length is 4: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L1440 and it accepts ip_tunnel_prl instead of ip6_tnl_parm2 for SIOCADDTUNNEL: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L370 Also SIOC***PRL commands accept ip_tunnel_prl instead of ip6_tnl_parm2: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L457 and SIOC***6RD accept ip_tunnel_6rd struct: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L1169 and both SIOC***PRL and SIOC***6RD are only applicable to sit devices rather than all tunnel types: https://elixir.bootlin.com/linux/v5.19-rc2/A/ident/SIOCGET6RD
Diffstat (limited to 'pkg/report/testdata/linux')
0 files changed, 0 insertions, 0 deletions