Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Download/kernel/2.6.16/026test007.1/changes

3,404 bytes added, 10:54, 21 March 2008
created
== Changes ==
* Critical files_struct refcounting and conntracks fixes
* Compilation fixes
* Lost UBC accounting.

{{Kernel git log|2.6.16|026test007}}

<includeonly>[[{{PAGENAME}}/changes#Patches|{{Long changelog message}}]]</includeonly><noinclude>
=== Patches ===

==== diff-ms-files-fix-20060329 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:<br/>
Fixed error path of dup_fd()
</div>

==== diff-ms-files-race-fix-20060329 ====
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;:<br/>
Fixed race on put_files_struct on exec with proc.

Restoring files on current on error path may lead to proc holds
pointer on already kfree-d files_struct.
</div>

==== diff-ubc-follow-page-k-20060321 ====
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;:

Remove FOLL_KERN flag form follow_page. It was used by vmalloc_ub
only and vmalloc_to_page is enough for it.
</div>

==== diff-ubc-kmem-objuse-20060329 ====
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;:

Issue found by Alexey Kuznetsov (alexey@openvz.org).

In 2.6.16 some wrong numbers are counted in kmemsize.
The code makes some efforts to calculate right number (objuse),
but does not use the result. Instead it uses allocated size
(obj_size), which is less than even the number shown in
/proc/slabinfo (buffer_size).
</div>

==== diff-ubc-net-skb-orphan-unch-20060401 ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
Fix leakage in UBC on datagram sockets
</div>

==== diff-ubc-thread-info-20060329 ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
Kernel stacks are not accounted in ubc
</div>

==== diff-ve-compile-20060323 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:<br/>
Fixed compilation with CONFIG_VE_CALLS=y and CONFIG_PROC_FS=n.<br/>

Issue found by Benedict (chubby):<br/>
[http://forum.openvz.org/index.php?t=tree&th=384&mid=2161 http://forum.openvz.org/index.php?t=tree&th=384&mid=2161]
</div>

==== diff-ve-file-owner-leak-20060329 ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
When numfiles ubc overflows, ve_struct leaks
</div>

==== diff-ve-net-conntrack-oops-fix-20060331 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:<br/>
Fix of oops in __ip_conntrack_find.

VPS could issue SO_GET_ORIG_DST get sockopt while they have no
ip_conntracks enabled. This leads to oops. Added check to return
-ENOPROTOOPT for such case.
</div>

==== diff-ve-net-ipv6-loopback-20060320 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:

Fixed compilation with CONFIG_IPV6 on, which was broken due to
loopback_dev virtualization.
</div>

==== diff-ve-net-netfilter-ip-ct-enable-warn-20060327 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:<br/>
Added warn message for obsoleted ip_conntrack_enable_ve0 param.
</div>

==== diff-ve-net-netfilter-ub-200060330 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:<br/>
x_tables should use mem_ub() function instead of vmalloc_ub()
</div>

==== diff-ve-net-nf-unconfirmed-20060331 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:
Virtualize 'unconfirmed' conntracks' list and thus fix soft
lockup on conntracks cleanup.
</div>

</noinclude>