- 13 Dec, 2003 2 commits
-
-
René Scharfe authored
In 2.5.x, the BKL was pushed from vfs_readdir() into the filesystem specific functions. But only the unlock_kernel() made it into the HPFS code, lock_kernel() got lost on the way. This rendered the filesystem unusable. This adds the missing lock_kernel(). It's been tested by Timo Maier who also reported the problem earlier today.
-
Jens Axboe authored
The previous scsi_ioctl.c patch didn't cleanup the buffer/bio in the error case. Fix it by copying the command data earlier.
-
- 12 Dec, 2003 1 commit
-
-
Linus Torvalds authored
corruption on SMP because of another CPU still accessing a waitqueue even after it was de-allocated. Use a careful version of the list emptiness check to make sure we don't de-allocate the stack frame before the waitqueue is all done.
-
- 09 Dec, 2003 1 commit
-
-
Jens Axboe authored
James reported a bug in scsi_ioctl.c where it mem copies a user pointer instead of using copy_from_user(). I inadvertently introduced this one when getting rid of CDROM_SEND_PACKET. Here's a trivial patch to fix it.
-
- 08 Dec, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
TCP IPV6 ->hash() method should not grab a socket reference.
-
- 07 Dec, 2003 5 commits
-
-
James McMechan authored
The problem was that the cursor was in the list being walked, and when the pointer pointed to the cursor the list_del/list_add_tail pair would oops trying to find the entry pointed to by the prev pointer of the deleted cursor element. The solution I found was to move the list_del earlier, before the beginning of the list walk. since it is not used during the list walk and should not count in the list enumeration it can be deleted, then the list pointer cannot point to it so it can be added safely with the list_add_tail without oopsing, and everything works as expected. I am unable to oops this version with any of my test programs. Patch acked by Al Viro.
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Martin Devera authored
-
David S. Miller authored
Based upon a patch from devik.
-
Jeff Garzik authored
From Javier Achirica: Delay MIC activation to prevent Oops
-
- 06 Dec, 2003 1 commit
-
-
Linus Torvalds authored
Clean up the tests while at it.
-
- 05 Dec, 2003 6 commits
-
-
Jeff Garzik authored
From: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Such poisoning can cause oopses either because the refcount is not zero when the poisoning occurs, or due to kernel debugging options being enabled.
-
Jeff Garzik authored
The driver was calling pci_unregister_driver for each _device_, and then again at the end of the module unload routine. Remove the call that's inside the loop, pci_unregister_driver should only be called once. Caught by Don Fry (and many others)
-
Jeff Garzik authored
Fixes oops some were seeing on module unload. Caught by Jon Burgess.
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Julian Anastasov authored
-
David S. Miller authored
-
- 04 Dec, 2003 3 commits
-
-
Ulrich Drepper authored
We should not allow mmap() with PROT_EXEC on mounts marked "noexec", since otherwise there is no way for user-supplied executable loaders (like ld.so and emulator environments) to properly honour the "noexec"ness of the target.
-
bk://linuxusb.bkbits.net/i2c-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jean Delvare authored
This patch fixes i2c_smbus_write_byte() being broken for i2c-nforce2. This causes trouble when that module is used together with eeprom (which is also in 2.6). We have had three user reports about the problem. Credits go to Mark D. Studebaker for finding and fixing the problem.
-
- 03 Dec, 2003 6 commits
-
-
Jens Axboe authored
The scheduler is completed b0rked on x86_64, and I finally found out why. sched_clock() always returned 0, because rdtscll() always returned 0. The 'a' in the macro doesn't agree with the 'a' in the function, yippe :-) This is a show stopper for x86_64.
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Ingo Molnar authored
The pid_alive() check within the loop is incorrect. If we are within the tasklist lock and the thread group leader is valid then the thread chain will be fully intact. Instead, the check should be _outside_ the loop, since if the group leader no longer exists, the whole list is gone and we must not try to access it. Move the check around, and add comment. Bug-hunting and fix by Srivatsa Vaddagiri
-
Pavlin Radoslavov authored
-
Harald Welte authored
-
Hideaki Yoshifuji authored
-
- 02 Dec, 2003 2 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
- 01 Dec, 2003 2 commits
-
-
Ingo Molnar authored
When doing sync wakeups we must not skip the notification of other cpus if the task is not on this runqueue.
-
Hirofumi Ogawa authored
We need to initialize st->state in tcp_seq_start(). Otherwise tcp_seq_stop() is run with previous st->state, and it calls the unneeded unlock etc, causing a kernel crash.
-
- 26 Nov, 2003 2 commits
-
-
Linus Torvalds authored
-
Ben Collins authored
I've got a lot more changes than what's included here. I've put this down to the bear minimum to get things working sanely. Mainly, I just want to get all the people hit by this a chance to use 2.6.0 without having to get our tree. Changes itemized: - Fix deadlock possibility in csr.c:read_maps() - Fix kmalloc to use ATOMIC in highlevel.c. - s/in_interrupt/irqs_disabled/ in ieee1394_transactions.c to fix warnings when transactions occured. - Introduce a release callback for the host driver and use it correctly. - Reorganize the nodemgr probe so we do an initial scan to discover devices, check IRM/CycleMaster, then do a final full probe when things are kosher. Fixes a problem where device registration and hotplug would cause some serious problems when a bus reset was forced in the middle of the probe.
-
- 25 Nov, 2003 8 commits
-
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Stephen Hemminger authored
There are /proc handles there setup by proc_tty_register_driver, but there is no module ownership association, so anything that reads after module unload will blow. The trivial fix is to propagate the owner of tty_driver to proc entry.
-
Jan Marek authored
This fixes a small, but important bug in smsc-ircc2.c. Without this the driver tries release the same region twice.
-
David Mosberger authored
Tracked down by Rohit Seth.
-
David Mosberger authored
-
Jean Tourrilhes authored
Do not special case ENOMEM as an error code, we should free up the packet for all errors.
-