Re: Problem with __check_and_rekey
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-08-12 13:55:27
In article [ref] (at Tue, 12 Aug 2003 15:20:50 +0200), SZALAY Attila [off-list ref] says:
quoted hunk ↗ jump to hunk
We created this patch to avoid the problem:--- tcp_ipv4.c~ Tue Jun 24 22:44:52 2003 +++ tcp_ipv4.c Tue Aug 12 14:21:33 2003@@ -872,8 +872,10 @@ tp->write_seq = ip_randomisn(); else #endif + local_bh_disable(); tp->write_seq = secure_tcp_sequence_number(sk->saddr, sk->daddr, sk->sport, usin->sin_port); + local_bh_enable(); } #ifdef CONFIG_GRKERNSEC_RANDID
You must forgot braces. But anyway, I can't find these lines in linux-2.4.21 (or even in 2.6.x). Are you sure you're working on the vanilla kernel? -- Hideaki YOSHIFUJI @ USAGI Project [off-list ref] GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA