svn commit: r245921 - head/sys/netinet

Navdeep Parhar np at FreeBSD.org
Fri Jan 25 22:50:53 UTC 2013


Author: np
Date: Fri Jan 25 22:50:52 2013
New Revision: 245921
URL: http://svnweb.freebsd.org/changeset/base/245921

Log:
  There is no need to call into the TOE driver twice in pru_rcvd (tod_rcvd
  and then tod_output right after that).
  
  Reviewed by:	bz@

Modified:
  head/sys/netinet/tcp_usrreq.c

Modified: head/sys/netinet/tcp_usrreq.c
==============================================================================
--- head/sys/netinet/tcp_usrreq.c	Fri Jan 25 22:43:20 2013	(r245920)
+++ head/sys/netinet/tcp_usrreq.c	Fri Jan 25 22:50:52 2013	(r245921)
@@ -769,6 +769,7 @@ tcp_usr_rcvd(struct socket *so, int flag
 #ifdef TCP_OFFLOAD
 	if (tp->t_flags & TF_TOE)
 		tcp_offload_rcvd(tp);
+	else
 #endif
 	tcp_output(tp);
 


More information about the svn-src-all mailing list