diff options
author | Arthur Sfez <asfez@google.com> | 2020-08-20 12:04:36 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-20 12:06:45 -0700 |
commit | 7ca62b9daa366ac2b3297f07de0ac601a2cca6bb (patch) | |
tree | b7b98e80f78880b24b250272261fcb2434108c1e /pkg/bits/bits.go | |
parent | 710adf23cd151558af718e1a8a02f2abe1059d82 (diff) |
Only use the NextHeader value of the first IPv6 fragment extension header.
As per RFC 8200 Section 4.5:
The Next Header field of the last header of the Per-Fragment
headers is obtained from the Next Header field of the first
fragment's Fragment header.
Test:
- pkg/tcpip/network/ipv6:ipv6_test
- pkg/tcpip/network/ipv4:ipv4_test
- pkg/tcpip/network/fragmentation:fragmentation_test
Updates #2197
PiperOrigin-RevId: 327671635
Diffstat (limited to 'pkg/bits/bits.go')
0 files changed, 0 insertions, 0 deletions