]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: ip6t_eui64: Fixes calculation of Universal/Local bit
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Fri, 11 Jan 2008 06:40:39 +0000 (22:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jan 2008 06:40:39 +0000 (22:40 -0800)
commit8f41f017866bc3dfe4db02582cfd48f0586cb990
tree53f343307498eb2fbc1231716aeca4c20723d7c9
parenta6ca5f1dbe40470fcb1ecc921769d792a1e77ed9
[NETFILTER]: ip6t_eui64: Fixes calculation of Universal/Local bit

RFC2464 says that the next to lowerst order bit of the first octet
of the Interface Identifier is formed by complementing
the Universal/Local bit of the EUI-64. But ip6t_eui64 uses OR not XOR.

Thanks Peter Ivancik for reporing this bug and posting a patch
for it.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/ip6t_eui64.c