patch-1.3.63 linux/include/net/tcp.h

Next file: linux/init/main.c
Previous file: linux/include/linux/ultrasound.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.62/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -95,7 +95,7 @@
 
 extern __inline int after(__u32 seq1, __u32 seq2)
 {
-	return (__s32)(seq1-seq2) > 0;
+	return (__s32)(seq2-seq1) < 0;
 }
 
 
@@ -132,7 +132,7 @@
 extern void tcp_retransmit(struct sock *, int);
 extern void tcp_do_retransmit(struct sock *, int);
 extern void tcp_send_check(struct tcphdr *th, unsigned long saddr, 
-		unsigned long daddr, int len, struct sock *sk);
+		unsigned long daddr, int len, struct sk_buff *skb);
 
 /* tcp_output.c */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this