Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2009 19:21:22 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-current@freebsd.org, barney_cordoba@yahoo.com
Subject:   Re: Possible bug in ip_input()
Message-ID:  <200902011921.22305.max@love2party.net>
In-Reply-To: <16190.90052.qm@web63904.mail.re1.yahoo.com>
References:  <16190.90052.qm@web63904.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 01 February 2009 17:07:51 Barney Cordoba wrote:
> I've noticed the following possible inconsistency.
>
> 1) ip_input() is called with M_FASTFWD_OUR set
> 2) ip_off is not "adjusted" to host representation

That's because ip_off should already be in host byte order at that point.  
M_FASTFWD_OUR indicates that the packet is relooped from within the ip 
processing path which uses host byte order for ip_off and ip_len throughout.

> 3) ip reassembly is erroneously called.
>
> I don't have an actual case that can test this, but it seems like an issue.

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902011921.22305.max>