New sysctl enabling/disabling(default) ksoftirqdFairsched with vcpu scheduler prohibit physical cpu binding
of taks, so softirq threads must be disabled (#3696, #9243)
Replaced OpenVZ version of dcache-race-fix with -mm tree's one.Original comment from Neil Brown:
The race is that the shrink_dcache_memory shrinker could get called while a
filesystem is being unmounted, and could try to prune a dentry belonging to
that filesystem.
If it does, then it will call in to iput on the inode while the dentry is
no longer able to be found by the umounting process. If iput takes a
while, generic_shutdown_super could get all the ...
Fixed revalidation for NFS dentries.The problem was introduced in the mainstream by
http://linux.bkbits.net:8080/linux-2.4/cset@1.181?nav=index.html|src/|src/fs|related/fs/namei.c
(see also the description in http://www.uwsg.iu.edu/hypermail/linux/kernel/0201.2/0316.html)
This patch fixes non-uniform use of d_revalidate method in VFS and makes VFS
returns ESTALE only for the weird NFS cases. (#18356)
[PATCH] leakage of vpid_mappingThe problem was that when switching to sparse VPID mappings, we could
have processes with non-virtual pids entered to VE. F.e. it could be
some stuck process from VE setup scripts. In this case we created
useless mapping struct, which was nevere freed, because it referred
to non-virtual pid.
I left a printk() in the code, because we definitely need confirmation
that this event really happens. ...
Reorganization of ext3_prepare_write/ext3_commit_writeThis eliminates the possibility of the page fault in between,
inside a transaction. It could cause GFP_FS allocation, re-entering into
ext3 code possibly with a different superblock and journal, ranking
violation of journalling serialization and mmap_sem and page lock and
all other kinds of funny consequences. (#22347)
The solution suggested by Chris Mason is to move all the logic
including ho...
This patch introduce virtual ethernet device.At creation of such device two network devices are created - one
inside VPS and one in VE0. One can specify names and HW address
for both devices.
[CPT] Checkpoint tasks doing sigaltstack()/SA_ONSTACK correctlyIt is funny, the code was present in early versions of checkpointing.
Apparently I removed it while a moment of a mind aberration.
Virtualization fixes in fairsched.This includes capability tuning, some per-ve statistics
and /proc/fairsched file with old-format data that may
be needed by some utils (vzcpucheck at least).
http://bugzilla.openvz.org/show_bug.cgi?id=176
Fix flock chargin after 2.6.16.18 mergeflock_lock_file() now creates new lock to insert into list
and thus some work must be done to handle its charging.'
[CPT] bug in dumping nptl threadsAll the threads were collected back-to-back, so we expected that they
stay in our internal task list in this way. But if one of threads forked
some children, the order is broken. Quite silly bug after you know this.
It solves bug #63025.
[CPT] fail immediately, when get_dir failedIt used to fail only after all the batch is complete. Logs abused.
It is part of larger thing, noticed in bug #62876. The fix is not
ready yet, behaviour is just not so ugly.
[CPT] restore of mm failed without reasons sometimesWe must not fail, when we cannot restore anon vma clusters.
Old days we had to fail, the problem was solved, but old
safety check was forgotten.
Replace add_timer() by mod_timer() in dst_run_gc in order to avoid BUG message. CPU1 CPU2
dst_run_gc() entered dst_run_gc() entered
spin_lock(&dst_lock) .....
del_timer(&dst_gc_timer) fail to get lock
.... mod_timer() <--- puts timer back
.... in list
add_timer(&dst_gc_timer) <--- BUG because ti...
[PATCH] NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)CVE-2006-2444 - Potential remote DoS in SNMP NAT helper.
Fix memory corruption caused by snmp_trap_decode:
- When snmp_trap_decode fails before the id and address are allocated,
the pointers contain random memory, but are freed by the caller
(snmp_parse_mangle).
- When snmp_trap_decode fails after allocating just the ID, it tries
to free both address and ID, but the address pointer sti...
Remove ub_kmalloc/ub_vmalloc/ub_vmalloc_node from ub headers and move theminto place where kmalloc/vmalloc/vmalloc_node are declared.
In CONFIG_USER_RESOURCE case it is ok to pass __GFP_UBC flag into functions.
http://bugzilla.openvz.org/show_bug.cgi?id=165
[PATCH] SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)If SCTP receives a badly formatted HB-ACK chunk, it is possible
that we may access invalid memory and potentially have a buffer
overflow. We should really make sure that the chunk format is
what we expect, before attempting to touch the data.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Chris Wright <chrisw@sous-sol....