Hi, Loganaden,
On 10/21/2012 02:19 AM, Loganaden Velvindron wrote:
> Concerning the oversized-header-chain draft.
>
> I'm still trying to wrap my head around ipv6 :-)
>
> I was looking at the code and I thought of something like:
>
> /*
> * If it's the 1st fragment, record the length of the
> * unfragmentable part and the next header of the fragment header.
> */
> if (fragoff == 0) {
> q6->ip6q_unfrglen = offset - sizeof(struct ip6_hdr) -
> sizeof(struct ip6_frag);
> /* make sure that the header chain is contained with
> the first fragment */
>
> if (q6->ip6q_unfrglen > IPV6_MMTU) {
> IP6Q_UNLOCK();
> return (IPPROTO_DONE);
> }
>
> If someone can help a bit, i can dig further :-)
Where does the above code check whether the entire IPv6 header chain is
present in the first fragment?
Cheers,
--
Fernando Gont
e-mail: [email protected] || [email protected]
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1