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

Sam Leffler sam at freebsd.org
Mon Sep 1 15:54:25 UTC 2008


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?

    Sam




More information about the cvs-src mailing list