svn commit: r260702 - head/sys/netinet

Lawrence Stewart lstewart at freebsd.org
Mon Jan 20 01:59:26 UTC 2014


On 01/16/14 22:50, Alexander V. Chernikov wrote:
> Author: melifaro
> Date: Thu Jan 16 11:50:00 2014
> New Revision: 260702
> URL: http://svnweb.freebsd.org/changeset/base/260702
> 
> Log:
>   Fix ipfw fwd for IPv4 traffic broken by r249894.
>   
>   Problem case:
>   Original lookup returns route with GW set, so gw points to
>   rte->rt_gateway.
>   After that we're changing dst and performing lookup another time.
>   Since fwd host is most probably directly reachable, resulting
>   rte does not contain rt_gateway, so gw is not set. Finally, we
>   end with packet transmitted to proper interface but wrong
>   link-layer address.
>   
>   Found by:	lstewart
>   Discussed with:	ae,lstewart
>   MFC after:	2 weeks
>   Sponsored by:	Yandex LLC

Thanks again for fixing this Alexander. Is the setfib fix going to hit
the tree soon as well?

Cheers,
Lawrence


More information about the svn-src-all mailing list