net-26.24 broken with XFRM off
Subsystems (2)
Hi Dave,
I get this error compiling net-2.6.24 with XFRM off:
[root@aries net-2.6.24]# make O=/opt/build/net-2.6.24
fatal: corrupted pack file .git/objects/pack/pack-39c494e9d4c6488e5911ee5c06926450679e6b78.pack
fatal: corrupted pack file .git/objects/pack/pack-39c494e9d4c6488e5911ee5c06926450679e6b78.pack
Using /mnt/net-2.6.24 as source for kernel
GEN /opt/build/net-2.6.24/Makefile CHK include/linux/version.h CHK include/linux/utsrelease.h CALL /mnt/net-2.6.24/scripts/checksyscalls.sh CHK include/linux/compile.h GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1
net/built-in.o(.text+0x73ac2): In function `inet6_csk_xmit':
: undefined reference to flow_cache_genid' net/built-in.o(.text+0x73b9e): In function inet6_csk_xmit':
: undefined reference to `flow_cache_genid' make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2
I believe this commit introduced it:
commit a85d5450ddeb959bdf9e4603f9c06e9d79217cfa
Author: Noriaki TAKAMIYA <[email protected]> Date: Fri Aug 24 23:31:39 2007 -0700
[IPV6] XFRM: Fix connected socket to use transformation.
Cheers,
Divy
Quoted 28 lines · On Thu, 06 Sep 2007 00:25:51 -0700 Divy Le Ray <[email protected]> wrote:
Hi Dave,
I get this error compiling net-2.6.24 with XFRM off:
[root@aries net-2.6.24]# make O=/opt/build/net-2.6.24
fatal: corrupted pack file .git/objects/pack/pack-39c494e9d4c6488e5911ee5c06926450679e6b78.pack
fatal: corrupted pack file .git/objects/pack/pack-39c494e9d4c6488e5911ee5c06926450679e6b78.pack
Using/mnt/net-2.6.24as source for kernelGEN /opt/build/net-2.6.24/Makefile CHK include/linux/version.h CHK include/linux/utsrelease.h CALL /mnt/net-2.6.24/scripts/checksyscalls.sh CHK include/linux/compile.h GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1net/built-in.o(.text+0x73ac2): In function `inet6_csk_xmit':
: undefined reference toflow_cache_genid' net/built-in.o(.text+0x73b9e): In functioninet6_csk_xmit':
: undefined reference to `flow_cache_genid' make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2
Quoted 7 lines
I believe this commit introduced it:
commita85d5450ddeb959bdf9e4603f9c06e9d79217cfaAuthor: Noriaki TAKAMIYA <[email protected]> Date: Fri Aug 24 23:31:39 2007 -0700[IPV6] XFRM: Fix connected socket to use transformation.
Hi Divy
I believe this problem is known.
Please check http://marc.info/?l=linux-netdev&m=118881627028135&w=2
Eric
David Miller
maintainerFrom: Eric Dumazet <[email protected]>
Date: Thu, 6 Sep 2007 10:13:26 +0200
Quoted 3 lines
I believe this problem is known.
Please check http://marc.info/?l=linux-netdev&m=118881627028135&w=2
I'll toss that fix into the tree, thanks.
Hi,
Quoted 9 lines
Quoted 3 lines
Thu, 6 Sep 2007 10:13:26 +0200
[Subject: Re: net-26.24 broken with XFRM off]
Eric Dumazet <[email protected]> wrote...Hi Divy
I believe this problem is known.
Please check http://marc.info/?l=linux-netdev&m=118881627028135&w=2
I'm sorry not to check more precisely.
As Eric said, this issue should be fixed by the patch attached in the following mail.
Regards,
Quoted 9 lines
Quoted 3 lines
Mon, 03 Sep 2007 19:43:51 +0900
[Subject: Re: [-mm patch] IPV6 must select XFRM]
Masahide NAKAMURA <[email protected]> wrote...Thank you for catching this. the issue is caused with patch "[IPV6] XFRM: Fix connected socket to use transformation." which I sent to netdev. (
a85d5450ddeb959bdf9e4603f9c06e9d79217cfaon net-2.6.24).
Quoted 7 lines
I'd prefer to modify the original patch to use "ifdef
CONFIG_XFRM" than changing kernel config depends. Does it make sense?Please review the attached patch.
Signature · 1 line
Masahide NAKAMURA
--
Noriaki TAKAMIYA