Possible bug in ip_input()

Max Laier max at love2party.net
Sun Feb 1 10:21:25 PST 2009


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 at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-current mailing list