diff options
| author | 2012-09-07 09:48:59 +1000 | |
|---|---|---|
| committer | 2012-09-07 09:48:59 +1000 | |
| commit | fff34b3412b9401a76ba9d021db1bd91cb0e02b6 (patch) | |
| tree | 870ed2d1555004e7939d15b5099017aae61c97b8 /net/ipv6/proc.c | |
| parent | powerpc/kprobes: Rename opcode_t in probes.h to ppc_opcode_t (diff) | |
| parent | powerpc: Don't use __put_user() in patch_instruction (diff) | |
| download | wireguard-linux-fff34b3412b9401a76ba9d021db1bd91cb0e02b6.tar.xz wireguard-linux-fff34b3412b9401a76ba9d021db1bd91cb0e02b6.zip | |
Merge branch 'merge' into next
Brings in various bug fixes from 3.6-rcX
Diffstat (limited to 'net/ipv6/proc.c')
| -rw-r--r-- | net/ipv6/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index da2e92d05c15..745a32042950 100644 --- a/net/ipv6/proc.c +++ b/net/ipv6/proc.c @@ -307,10 +307,10 @@ static int __net_init ipv6_proc_init_net(struct net *net) goto proc_dev_snmp6_fail; return 0; +proc_dev_snmp6_fail: + proc_net_remove(net, "snmp6"); proc_snmp6_fail: proc_net_remove(net, "sockstat6"); -proc_dev_snmp6_fail: - proc_net_remove(net, "dev_snmp6"); return -ENOMEM; } |
