OpenVZ-legacy
  1. OpenVZ-legacy

linux-2.6.24-openvz

Public
AuthorCommitMessageCommit dateIssues
Alexey DobriyanAlexey Dobriyan
9c10803877cCONNTRACK: move exp_proc_init() to text sectionnf_conntrack_expect_init() is calling exp_proc_init() which was can't be in .init.text for that reason.
Alexey DobriyanAlexey Dobriyan
5e5b46ec815SLUB: drop "inline" from __flush_cpu_slab() prototype3.4 gcc sometimes treats as error the following sequence: static inline foo(); foo(); static inline foo() { ... }
Alexey DobriyanAlexey Dobriyan
bfd1a53e3dfLinux 2.6.24-ovz002
Alexey DobriyanAlexey Dobriyan
7155bb8dedfRevert "An ugly fixup to cure x86_64 strace"This reverts commit 7596140b517c486eafcec8fb6cf183c54efd3c9d. Commit is needed only together with segment registers renaming patch.
Alexey DobriyanAlexey Dobriyan
e5fa3ca979aFix pid charging logic in case of process enteringWho would've thought... Effective size of object in pid_2 cache can be very well be smaller than size of object in pid_1 cache. This depends on sizeof(struct foo), debug options, cache line sizes and so on. So, now, we charge bit more or uncharge a bit depending on sizes.
Alexey DobriyanAlexey Dobriyan
03d60f5abacCPT: print unknown inode's magic as well
Alexey DobriyanAlexey Dobriyan
095a23ef61esnd: remove PDE from correct proc_rootOpenVZ has multiple proc_root's so explicitly specifying a proc_root during creation or removal is dangerous.
Alexey DobriyanAlexey Dobriyan
08a3c5198299p: don't oops on rmmodUnloadable modules should just skip module_exit() hook ;-)
Alexey DobriyanAlexey Dobriyan
93af30a6005Remove "Not cloning cgroup for unused subsystem ns" spamIt triggers on every VE start/stop.
Vitaliy GusevAlexey DobriyanVitaliy Gusev
bb11576f093sunrpc: add cleanup hookcall_status() can go to the sleep: .... switch(status) { case -EHOSTDOWN: case -EHOSTUNREACH: case -ENETUNREACH: /* * Delay any retries for 3 seconds, then handle as if it * were a timeout. */ rpc_delay(task, 3*HZ); case -ETIMEDOUT: task->tk_action = call_timeout; .... Task after some delay will be waked up and try access to loopback device. Then do VE stop, fini_ve_netdev...
Alexey DobriyanAlexey Dobriyan
c04ac36c7acTweak headers placement to please headers_check
Alexey DobriyanAlexey Dobriyan
4441b3e219cMMerge 2.6.24.1, 2.6.24.2Merge git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y into 2.6.24-openvz Conflicts: Makefile
Alexey DobriyanAlexey Dobriyan
0bca28c8e04Fix one more nsproxy refcount bugDuring error recovery after CLONE_NEWNET was successfully done, temporary nsproxy was put more that needed. It's refcount was 1 during VE start but it was put one time when tsk detached from it to VE0's one and one time when VE detached from it. Patch adds GET when tsk or VE attached to nsproxy even on error recovery path.
Alexey DobriyanAlexey Dobriyan
e36f6a9d82cCPT: misc compilation warning fixeskernel/cpt/rst_undump.c: In function 'hook': kernel/cpt/rst_undump.c:373: warning: right shift count >= width of type kernel/cpt/rst_undump.c:384: warning: cast to pointer from integer of different size
Alexey DobriyanAlexey Dobriyan
3944fc35739CPT: fix SysV SHM which was only shmget(2)'tedNow there are two kind of files which have empty ->read hook: usual files which always were there, and files created by shmat(2). shmat(2)'ted files are a big separate headache...
Alexey DobriyanAlexey Dobriyan
c73b89d7249CPT: implement FUTEX_WAIT restart
Alexey DobriyanAlexey Dobriyan
5b0573509c6CPT: implement poll(2) restart
Alexey DobriyanAlexey Dobriyan
e9ca79cdf9aCPT: fix compilation on COMPAT=n configshttp://bugzilla.openvz.org/show_bug.cgi?id=817
Alexey DobriyanAlexey Dobriyan
7f61d9c3d77CPT: refactor nanosleep restart dumping code a bitAlso, restore CPT_RBL_COMPAT_NANOSLEEP, now that nanosleep restarting is properly fixed in mainline.
Alexey DobriyanAlexey Dobriyan
d30d28f5b04Fix proc_mnt leak on error path of VE startIf error happens after init_ve_proc but before process'es attach to VE's pidns nobody will put ->proc_mnt.
Alexey DobriyanAlexey Dobriyan
112cb13b6cdRemove bogus nsproxy puts on error pathshttp://bugzilla.openvz.org/show_bug.cgi?id=813
Oleg NesterovAlexey DobriyanOleg Nesterov
9e74e0c9c7f[Backport commit 080344b98805553f9b01de0f59a41b1533036d8d and 416529374b4793ba2d2e97e736d108a2e0f3ef07 to properly fix CPT crashes when restarting tasks in nanosleep(2). Bug is much more visible with CPT because "rtm" was allocated on stack and during restart all stacks are created in completely different places, so nanosleep restarter writes to arbirtary point in memory. --adobriyan]commit 080344b98805553f9b01de0f59a41b1533036d8d Author: Oleg Nesterov <oleg@tv-sign.ru> Date: Fri Feb 1 17:29:05 2008 +0300 hrtimer: fix *rmtp handling in hrtimer_nanosleep() Spotted by Pavel Emelyanov and Alexey Dobriyan. hrtimer_nanosleep() sets restart_block->arg1 = rmtp, but this rmtp points to the local variable which lives in the caller's stack frame. This means that ...
Alexey DobriyanAlexey Dobriyan
43d32f5d668Make CONFIG_FAIR_USER_SCHED and CONFIG_VE mutually exclusiveUsers are reporting VE start failures because of duplicate /sys/kernel/uids/0 files. Right now group scheduling feature isn't used, so thinking about FAIR_USER_SCHED is too early.
Greg Kroah-HartmanGreg Kroah-Hartman
c78cb439103Linux 2.6.24.2
Bastian BlankGreg Kroah-HartmanBastian Blank
1617e66d11dsplice: fix user pointer access in get_iovec_page_array()patch 712a30e63c8066ed84385b12edbfb804f49cbc44 in mainline. Commit 8811930dc74a503415b35c4a79d14fb0b408a361 ("splice: missing user pointer access verification") added the proper access_ok() calls to copy_from_user_mmap_sem() which ensures we can copy the struct iovecs from userspace to the kernel. But we also must check whether we can access the actual memory region pointed to by the struct i...
Greg Kroah-HartmanGreg Kroah-Hartman
87d81ba62bfLinux 2.6.24.1
Jens AxboeGreg Kroah-HartmanJens Axboe
cece280a46csplice: missing user pointer access verification (CVE-2008-0009/10)patch 8811930dc74a503415b35c4a79d14fb0b408a361 in mainline. vmsplice_to_user() must always check the user pointer and length with access_ok() before copying. Likewise, for the slow path of copy_from_user_mmap_sem() we need to check that we may read from the user region. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Cc: Wojciech Purczynski <cliph@research.coseinc.com> Signed-off-by: Greg K...CVE-2008
Dave AirlieGreg Kroah-HartmanDave Airlie
1dcde8747cbdrm: the drm really should call pci_set_master..(submitted upstream as 19a8f59ab8ceee751ea720085098355d53f727d6) perhaps bonghits could turn on my bus-mastering because the drm certainly never bothered doing it before. Signed-off-by: Dave Airlie <airlied@linux.ie> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michael E BrownGreg Kroah-HartmanMichael E Brown
71591e87172Driver core: Revert "Fix Firmware class name collision"patch 7d640c4a5b36c4733460065db1554da924044511 in mainline. This reverts commit 109f0e93b6b728f03c1eb4af02bc25d71b646c59. The original patch breaks BIOS updates on all Dell machines. The path to the firmware file for the dell_rbu driver changes, which breaks all of the userspace tools which rely on it. Note that this patch re-introduces a problem with i2c name collision that was previously f...
Nick PigginGreg Kroah-HartmanNick Piggin
145eb46ca9ffix writev regression: pan hanging unkillable and un-straceablepatch 124d3b7041f9a0ca7c43a6293e1cae4576c32fd5 in mainline. Frederik Himpe reported an unkillable and un-straceable pan process. Zero length iovecs can go into an infinite loop in writev, because the iovec iterator does not always advance over them. The sequence required to trigger this is not trivial. I think it requires that a zero-length iovec be followed by a non-zero-length iovec whi...
Srivatsa VaddagiriGreg Kroah-HartmanSrivatsa Vaddagiri
ac005b49fd4sched: fix high wake up latencies with FAIR_USER_SCHEDpatch 296825cbe14d4c95ee9c41ca5824f7487bfb4d9d in mainline. The reason why we are getting better wakeup latencies for !FAIR_USER_SCHED is because of this snippet of code in place_entity(): if (!initial) { /* sleeps upto a single latency don't count. */ if (sched_feat(NEW_FAIR_SLEEPERS) && entity_is_task(se)) ^^^^^^^^^^^^^^^^^^ vruntime -= sysctl_sched_latency; /* ensure ...
Peter ZijlstraGreg Kroah-HartmanPeter Zijlstra
818b7bc903fsched: let +nice tasks have smaller impactpatch ef9884e6f29bbe1075204f962a00f7533bf7e8f3 in mainline. Michel Dänzr has bisected an interactivity problem with plus-reniced tasks back to this commit: 810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8 is first bad commit commit 810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8 Author: Peter Zijlstra <a.p.zijlstra@chello.nl> Date: Mon Oct 15 17:00:14 2007 +0200 sched: another wakeup_granularity fix...
Michael BueschGreg Kroah-HartmanMichael Buesch
5df1d0f8785b43: Reject new firmware early(not in mainline, as it is not applicable.) We must reject new incompatible firmware early to avoid running into strange transmission failures. The current development tree supports newer firmware revisions. These revisions cause strange failures on the stable 2.6.24 kernel. Add a check to avoid confusing users a lot. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: Greg Kroah-Har...
Stephen SmalleyGreg Kroah-HartmanStephen Smalley
9a87ea3ee51selinux: fix labeling of /proc/net inodespatch b1aa5301b9f88a4891061650c591fb8fe1c1d1da in mainline. The proc net rewrite had a side effect on selinux, leading it to mislabel the /proc/net inodes, thereby leading to incorrect denials. Fix security_genfs_sid to ignore extra leading / characters in the path supplied by selinux_proc_get_sid since we now get "//net/..." rather than "/net/...". Signed-off-by: Stephen Smalley <sds@tycho....
Stefano BrivioGreg Kroah-HartmanStefano Brivio
3ecd7e88c99b43legacy: fix DMA slot resource leakagepatch 8dd0100ce9511e52614ecd0a6587c13ce5769c8b in mainline. This fixes four resource leakages. In any error path we must deallocate the DMA frame slots we previously allocated by request_slot(). This is done by storing the ring pointers before doing any ring allocation and restoring the old pointers in case of an error. This patch by Michael Buesch has been ported to b43legacy. Cc: Michael B...
Stefano BrivioGreg Kroah-HartmanStefano Brivio
9c5149b9f24b43legacy: drop packets we are not able to encryptpatch 9eca9a8e81928685b4de00ecef83a7c13c340fc9 in mainline. We must drop any packets we are not able to encrypt. We must not send them unencrypted or with an all-zero-key (which basically is the same as unencrypted, from a security point of view). This might only trigger shortly after resume before mac80211 reassociated and reconfigured the keys. It is safe to drop these packets, as the asso...
Stefano BrivioGreg Kroah-HartmanStefano Brivio
bee7e281701b43legacy: fix suspend/resumepatch ada50731c0346bf900dc387edd3a6961297bf2d3 in mainline. This patch makes suspend/resume work with the b43legacy driver. We must not overwrite the MAC addresses in the init function, as this would also overwrite the MAC on resume. With an all-zero MAC the device firmware is not able to ACK any received packets anymore. Fix this by moving the initializion stuff that must be done on init but ...
Stefano BrivioGreg Kroah-HartmanStefano Brivio
c6ca9ee0450b43legacy: fix PIO crashpatch 0cd67d48b519c3d8d89d238fab1cf68a5289638a in mainline. Fix the crash reported below, which seems to happen on bcm4306 rev. 2 devices only while using PIO: Oops: 0000 [#1] PREEMPT Modules linked in: b43(F) rfkill(F) led_class(F) input_polldev(F) arc4 b43legacy mac80211 cfg80211 i915 drm snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ohci1394 ieee1394 ssb pcmcia snd_intel8x0m ehci_h...
Michael BueschGreg Kroah-HartmanMichael Buesch
a30954e2544b43: Fix dma-slot resource leakagepatch 8dd0100ce9511e52614ecd0a6587c13ce5769c8b in mainline. This fixes four resource leakages. In any error path we must deallocate the DMA frame slots we previously allocated by request_slot(). This is done by storing the ring pointers before doing any ring allocation and restoring the old pointers in case of an error. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: Stefano Brivi...
Michael BueschGreg Kroah-HartmanMichael Buesch
2e892f92fe8b43: Drop packets we are not able to encryptpatch 09552ccd8277e6382097e93a40f7311a09449367 in mainline We must drop any packets we are not able to encrypt. We must not send them unencrypted or with an all-zero-key (which basically is the same as unencrypted, from a security point of view). This might only trigger shortly after resume before mac80211 reassociated and reconfigured the keys. It is safe to drop these packets, as the assoc...
Michael BueschGreg Kroah-HartmanMichael Buesch
b3b222ff937b43: Fix suspend/resumepatch 7be1bb6b798d506693d2d8668e801951996b5a4a in mainline. This patch makes suspend/resume work with the b43 driver. We must not overwrite the MAC addresses in the init function, as this would also overwrite the MAC on resume. With an all-zero MAC the device firmware is not able to ACK any received packets anymore. Fix this by moving the initializion stuff that must be done on init but not on...
Stephen HemmingerGreg Kroah-HartmanStephen Hemminger
dbccde6478fsky2: fix for WOL on some devicespatch 82637e808478087ce861129745fa60cc37e7929d in mainline This patch disables config mode access after clearing PCI settings. Without this change WOL won't work on some BIOS's Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stephen HemmingerGreg Kroah-HartmanStephen Hemminger
31d722ee25dsky2: restore multicast addresses after recoverypatch a7bffe722c996679b4fb2103ecaf673ec2b9b4a7 in mainline. If the sky2 deadman timer forces a recovery, the multicast hash list is lost. Move the call to sky2_set_multicast to the end of sky2_up() so all paths that bring device up will restore multicast. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Sam RavnborgGreg Kroah-HartmanSam Ravnborg
de0d21fac3dx86: restore correct module name for apmpatch 3a900d89db35c133bc0874e71d9156b22db362b4 in mainline The apm module were renamed to apm_32 during the merge of 32 and 64 bit x86 which is unfortunate. As apm is 32 bit specific we like to keep the _32 in the filename but the module should be named apm. Fix this in the Makefile. Reported-by: "A.E.Lawrence" <lawrence_a_e@ntlworld.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Cc...
Len BrownGreg Kroah-HartmanLen Brown
9b0fb094a1bACPI: update ACPI blacklistThese minor changes sync the latest ACPI blacklist into 2.6.24. The main benefit of this patch is to make any future changes easier to apply. The immediate benefit is one less dmesg line on Acer systems. Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian AbbottGreg Kroah-HartmanIan Abbott
1d866417a3fPCI: Fix fakephp deadlockThis patch works around a problem in the fakephp driver when a process writing "0" to a "power" sysfs file to fake removal of a PCI device ends up deadlocking itself in the sysfs code. The patch was recently accepted into Linus' tree after the 2.6.24 release: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5c796ae7a7ebe56967ed9b9963d7c16d733635ff Signed-off-by:...
Oleg NesterovGreg Kroah-HartmanOleg Nesterov
7e3c396b755sys_remap_file_pages: fix ->vm_file accountingpatch 8a459e44ad837018ea5c34a9efe8eb4ad27ded26 in mainline. Fix ->vm_file accounting, mmap_region() may do do_munmap(). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Peter ZijlstraGreg Kroah-HartmanPeter Zijlstra
56d4009e962lockdep: annotate epollpatch 0ccf831cbee94df9c5006dd46248c0f07847dd7c in mainline. On Sat, 2008-01-05 at 13:35 -0800, Davide Libenzi wrote: > I remember I talked with Arjan about this time ago. Basically, since 1) > you can drop an epoll fd inside another epoll fd 2) callback-based wakeups > are used, you can see a wake_up() from inside another wake_up(), but they > will never refer to the same lock instance. > Thi...
Ayaz AbdullaGreg Kroah-HartmanAyaz Abdulla
d98837eca25forcedeth: mac address mcp77/79patch 2b91213064bd882c3adf35f028c6d12fab3269ec in mainline. This patch is a critical fix for MCP77 and MCP79 devices. The feature flags were missing the define for correct mac address (DEV_HAS_CORRECT_MACADDR). Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <g...
Stefan BaderGreg Kroah-HartmanStefan Bader
7775972d879USB: Fix usb_serial_driver structure for Kobil cardreader driver.The device setup did miss to initialize the num_interrupt_out field, thus failing to successfully complete the probe function. Signed-off-by: Stefan Bader <stefan.bader@canonical.com> Cc: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>