cvs commit: src/sys/dev/cxgb/ulp/toecore toedev.c src/sys/netinet tcp_offload.c toedev.h

John Baldwin jhb at freebsd.org
Mon Sep 8 20:12:10 UTC 2008


On Monday 01 September 2008 11:54:20 am Sam Leffler wrote:
> Kip Macy wrote:
> > kmacy       2008-09-01 05:30:22 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/dev/cxgb/ulp/toecore toedev.c
> >     sys/netinet          tcp_offload.c toedev.h
> >   Log:
> >   SVN rev 182591 on 2008-09-01 05:30:22Z by kmacy
> >
> >   Don't check if an interface can do tcp offload if there are no offload
> > devices registered on the system.
>
> This appears to have an unrelated change as well:
> >  	/*
> >  	 * Look up the route used for the connection to
> >  	 * determine if it uses an interface capable of
> >  	 * offloading the connection.
> >  	 */
> > -	rt = rtalloc1(nam, 1 /*report*/, 0 /*ignflags*/);
> > +	rt = rtalloc1(nam, 0 /*report*/, 0 /*ignflags*/);
> >  	if (rt)
> >  		RT_UNLOCK(rt);
> >  	else
>
> Was that intentional?

Maybe that is the source of the ARP breakage on 7.x?

-- 
John Baldwin


More information about the cvs-src mailing list