PERFORCE change 130784 for review

Kip Macy kmacy at FreeBSD.org
Wed Dec 12 18:48:35 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=130784

Change 130784 by kmacy at kmacy:storage:toestack on 2007/12/13 02:48:05

	fix compile breakage from IFC

Affected files ...

.. //depot/projects/toestack/sys/netinet/tcp_ofld.h#9 edit
.. //depot/projects/toestack/sys/netinet/tcp_var.h#10 edit

Differences ...

==== //depot/projects/toestack/sys/netinet/tcp_ofld.h#9 (text+ko) ====

@@ -3,7 +3,7 @@
 
 
 #define tp_offload(tp) ((tp)->t_flags & TF_TOE)
-#define SO_OFFLOADABLE(so) ((so->so_options & SO_NOOFFLOAD) == 0)
+#define SO_OFFLOADABLE(so) ((so->so_options & SO_NO_OFFLOAD) == 0)
 
 int ofld_connect(struct socket *so, struct sockaddr *nam);
 int ofld_can_offload(struct tcpcb *tp, struct sockaddr *nam);

==== //depot/projects/toestack/sys/netinet/tcp_var.h#10 (text+ko) ====

@@ -207,7 +207,6 @@
 	int	t_rttlow;		/* smallest observerved RTT */
 	u_int32_t	rfbuf_ts;	/* recv buffer autoscaling timestamp */
 	int	rfbuf_cnt;		/* recv buffer autoscaling byte count */
-	void	*t_pspare[3];		/* toe usrreqs / toepcb * / congestion algo / vimage / 1 general use */
 	struct toe_usrreqs *t_tu;       /* offload operations vector */
 	void	*t_toe;			/* TOE pcb pointer */
 	char *t_cong_control;		/* congestion control algorithm  name*/


More information about the p4-projects mailing list