Gentoo Archives: gentoo-commits

From: "Stratos Psomadakis (psomas)" <psomas@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] linux-patches r1970 - genpatches-2.6/trunk/2.6.32
Date: Mon, 29 Aug 2011 22:35:03
Message-Id: 20110829223451.00B2C2004C@flycatcher.gentoo.org
1 Author: psomas
2 Date: 2011-08-29 22:34:50 +0000 (Mon, 29 Aug 2011)
3 New Revision: 1970
4
5 Added:
6 genpatches-2.6/trunk/2.6.32/2000_fix-broken-backport-for-ipv6-tunnels.patch
7 Modified:
8 genpatches-2.6/trunk/2.6.32/0000_README
9 Log:
10 Add patch to fix broken backport for IPv6 tunnels
11
12 Modified: genpatches-2.6/trunk/2.6.32/0000_README
13 ===================================================================
14 --- genpatches-2.6/trunk/2.6.32/0000_README 2011-08-29 22:26:54 UTC (rev 1969)
15 +++ genpatches-2.6/trunk/2.6.32/0000_README 2011-08-29 22:34:50 UTC (rev 1970)
16 @@ -223,6 +223,10 @@
17 From: http://www.kernel.org
18 Desc: Linux 2.6.32.46
19
20 +Patch: 2000_fix-broken-backport-for-ipv6-tunnels.patch
21 +From: https://bugs.gentoo.org/show_bug.cgi?id=380609
22 +Desc: Fix broken backport for IPv6 tunnels
23 +
24 Patch: 2900_disable-wunused-but-set-var-gcc-4-6-0.patch
25 From: https://bugs.gentoo.org/show_bug.cgi?id=366579
26 Desc: Disable -Wunused-but-set-variable for gcc 4.6.0. Thanks to Stratos Psomadakis
27
28 Added: genpatches-2.6/trunk/2.6.32/2000_fix-broken-backport-for-ipv6-tunnels.patch
29 ===================================================================
30 --- genpatches-2.6/trunk/2.6.32/2000_fix-broken-backport-for-ipv6-tunnels.patch (rev 0)
31 +++ genpatches-2.6/trunk/2.6.32/2000_fix-broken-backport-for-ipv6-tunnels.patch 2011-08-29 22:34:50 UTC (rev 1970)
32 @@ -0,0 +1,16 @@
33 +diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
34 +index 7fb3e02..53e0d51 100644
35 +--- a/net/ipv6/ip6_tunnel.c
36 ++++ b/net/ipv6/ip6_tunnel.c
37 +@@ -1466,7 +1466,7 @@ static int __init ip6_tunnel_init(void)
38 + {
39 + int err;
40 +
41 +- err = register_pernet_device(&ip6_tnl_net_ops);
42 ++ err = register_pernet_gen_device(&ip6_tnl_net_id, &ip6_tnl_net_ops);
43 + if (err < 0)
44 + goto out_pernet;
45 +
46 +--
47 +1.7.6.1
48 +