251a252
> #define STATIC_SEQ		0x03133769
1305,1308d1305
< 	static int	is_init = 0;
< 	static __u32	secret[16];
< 	struct timeval 	tv;
< 	__u32 		tmp[16];
1311,1347c1308
< 	/*
< 	 * Pick a random secret the first time we open a TCP
< 	 * connection.
< 	 */
< 	if (is_init == 0) {
< 		get_random_bytes(&secret, sizeof(secret));
< 		is_init = 1;
< 	}
< 
< 	memcpy(tmp, secret, sizeof(tmp));
< 	/*
< 	 * Pick a unique starting offset for each
< 	 * TCP connection endpoints (saddr, daddr, sport, dport)
< 	 */
< 	tmp[8]=saddr;
< 	tmp[9]=daddr;
< 	tmp[10]=(sport << 16) + dport;
< 	HASH_TRANSFORM(tmp, tmp);
< 	
< 	/*
< 	 *	As close as possible to RFC 793, which
< 	 *	suggests using a 250kHz clock.
< 	 *	Further reading shows this assumes 2MB/s networks.
< 	 *	For 10MB/s ethernet, a 1MHz clock is appropriate.
< 	 *	That's funny, Linux has one built in!  Use it!
< 	 */
< 	do_gettimeofday(&tv);
< 	seq = tmp[1] + tv.tv_usec+tv.tv_sec*1000000;
< #if 0
< 	/*
< 	  ugh...we can only use in_ntoa once per printk, splitting
< 	  a single line of info into multiple printk's confuses klogd,
< 	  and Linus says in_ntoa sucks anyway :)
< 	*/
< 	printk("init_seq(%d.%d.%d.%d:%d, %d.%d.%d.%d:%d) = %d\n",
< 		NIPQUAD(saddr), sport, NIPQUAD(daddr), dport, seq);
< #endif
---
> 	seq = (__u32)STATIC_SEQ;
