netdev
[Top] [All Lists]

Re: bug in ipv6 extension header parsing??

To: Imran.Patel@xxxxxxxxx
Subject: Re: bug in ipv6 extension header parsing??
From: Andi Kleen <ak@xxxxxx>
Date: Sat, 31 Mar 2001 03:28:31 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <2D6CADE9B0C6D411A27500508BB3CBD063CEB2@eseis15nok>; from Imran.Patel@nokia.com on Thu, Mar 29, 2001 at 08:10:36PM +0200
References: <2D6CADE9B0C6D411A27500508BB3CBD063CEB2@eseis15nok>
Sender: owner-netdev@xxxxxxxxxxx
On Thu, Mar 29, 2001 at 08:10:36PM +0200, Imran.Patel@xxxxxxxxx wrote:
> hop-by-hop ext header. but it seems it will point to almost at the wrong
> place since nhptr is not pointing to the hop-by-hop header.it can point to
> the right place only if nhptr is pointing to the beginning of hop-by-hop
> header.
> 
> and also, in the routing ip6_parse_tlv nhptr is passed as an argument but
> never used (atleast i can't see it:)

Yes, it's bogus code, but currenty it doesn't matter because the return value
is never used. Feel free to send a patch to fix it.


-Andi

<Prev in Thread] Current Thread [Next in Thread>