- 16 Mar, 2005 9 commits
-
-
Sven Henkel authored
TCP options are not guaranteed to be aligned at all, so we should use get_unaligned when accessing u16- or u32-values in the TCP options header to avoid alignment errors on some platforms. The patch applies to vanilla 2.6.11. Signed-off-by: Sven Henkel <shenkel@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
This patch is wrong. This is the *one* place where we do need to use the path MTU. The reason is that when the packet is fragmented we only pay for the IPsec overhead once over all and not once for each fragment. Please revert it for now. The trailer_len in ip_append_data is not quite right as the trailer's length depends on the length of the entire packet. However, it should be harmless since ESP knows how to extend the packet when necessary. Cset exclude: herbert@gondor.apana.org.au|ChangeSet|20050315181807|13007
-
Matthew Wilcox authored
Fix prototype of __ide_mm_{in,out}{sw,sl} function prototypes Signed-off-by: Randolph Chung <tausq@parisc-linux.org> Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matthew Wilcox authored
Some put_user() callers mismatch the type of the object and the pointer. Since PA-RISC is big-endian, the wrong bits were being copied to userspace. Signed-off-by: Randolph Chung <tausq@parisc-linux.org> Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matthew Wilcox authored
Minor line wrapping fix From: Kyle McMartin <kyle@parisc-linux.org> Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matthew Wilcox authored
MUX should never have had CON_BOOT set Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matthew Wilcox authored
convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO). Signed-off-by: Christophe Lucas <c.lucas@ifrance.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matthew Wilcox authored
- Small cleanups to LED/LCD support code From: Grant Grundler <grundler@parisc-linux.org> - asm/irq.h is unnecessary Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matthew Wilcox authored
IODC.txt and mm were removed ages ago Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 15 Mar, 2005 31 commits
-
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Peter Chubb authored
Remove __exit from functions calls from functions other than module_exit(). Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au> Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
Trond Myklebust authored
When doing shared mmap writes, the resulting dirty NFS pages may find themselves incapable of being flushed out if I/O is started after the file was released. Make sure we start I/O on all existing dirty pages in nfs_file_release(). Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Christoph Lameter authored
Fix the issue that the timer sometimes will not fire if the scheduled time has already expired. Plus some simplifications and style changes. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Dimitri Sivanich <sivanich@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Ben Dooks authored
Rewrite initialiser for proc_oom_adjust_operations, and add __user annotations to oom_adjust_{read|write} Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesse Barnes authored
The sal_console and sal_console_uart structures have a circular relationship since they both initialize member fields to pointers of one another. The current code forward declares sal_console_uart as extern so that sal_console can take its address, but gcc4 complains about this since the real definition of sal_console_uart is marked 'static'. This patch just removes the static qualifier from sal_console_uart to avoid the inconsistency. Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Prasanna Meda authored
Set_task_comm uses strlcpy, so get_task_comm must use strncpy. Signed-Off-by: Prasanna Meda <pmeda@akamai.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
drivers/pci/quirks.c:pci_msi_quirk is only defined if CONFIG_X86_IO_APIC, but msi_init() unconditionally uses it. Acked-by: "Nguyen, Tom L" <tom.l.nguyen@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
CC [M] drivers/media/dvb/frontends/dvb-pll.o drivers/media/dvb/frontends/dvb-pll.c:38: warning: excess elements in array initializer drivers/media/dvb/frontends/dvb-pll.c:38: warning: (near initialization for `dvb_pll_thomson_dtt7579.entries') Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
drivers/media/video/saa7134/saa7134-core.c: In function `saa7134_fini': drivers/media/video/saa7134/saa7134-core.c:1215: `pending_registered' undeclared (first use in this function) Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
We forgot to add the spinlock to the device structure. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
James Bottomley authored
FC Remote Port Patch This is the reworked patch for fc_remote ports. It started with the "patch2" converted for scsi-misc-2.6 (and updated for the revised midlayer scsi target implementation) Incorporates Andrew Vasquez's updates Adds scsi target scanning on behalf of the driver based on addition of a per-host workq. This patch adds support for FC Remote Ports (which may or may not be FCP targets) to the fc transport. The attributes for the ports are in support of HBAAPI. This patch also implements consistent scsi target id bindings for the remote ports. This patch also moves the dev_loss attribute from the target-level fc_transport device to the remote port device. It also deletes the link_down attribute. The fc_target_block and fc_target_unblock routines have been replaced by fc_remote_port_block and fc_remote_port_unblock. The fc_host_block/unblock functions have been removed (unused). A new interface has been created - fc_remove_host(), which a driver must call immediately prior to scsi_remove_host() when unloading. This tears down the transport, starget, and sdev devices. The transport, which utilizes the midlayer mods to insert transport entities between the shost and starget, results in a device tree such as the following: /sys/class/fc_host/host4/device/rport-4:0-0/target4:0:0/4:0:0:0 Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
* add scsi_target_block() and scsi_target_unblock() routines which take a generic-device. Side note: there are mixture of scsi_<object>_<action>() and scsi_<action>_<noun>() functions defined in the scsi APIs -- going forward are there any 'guides' or suggestions on which to choose? * modify scsi_remove_target() to take a generic-device. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Morton authored
drivers/scsi/st.c:805: warning: implicit declaration of function `msleep_interruptible' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Linus Torvalds authored
People are investigating. Cset exclude: davem@sunset.davemloft.net|ChangeSet|20050315051617|44508 Cset exclude: kravetz@us.ibm.com[torvalds]|ChangeSet|20050314002422|18516
-
Kai Mäkisara authored
The kernel currently allows any user permitted to access the tape device file to send the tape drive commands that may either make the tape drivers internal state inconsistent or to change the drive parameters so that other users find the drive to be unusable. This patch changes ioctl handling so that SG_IO, SCSI_IOCTL_COMMAND, etc. require CAP_ADMIN. This solves the consistency problems for SCSI tapes. The st driver provides user-accessible commands to change the drive parameters that users may need to access. The SCSI command permissions were discussed widely on the linux lists but this did not result in any useful refinement of the permissions. It may very well be that the tape drives are the only devices that users are sometimes given permissions to access and that have security problems with the current command filtering. This patch solves the problem for tapes and no more elaborate patches are needed. Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Kai Mäkisara authored
This patch applies over the previous patch in this thread. The patch removes updating filp->f_pos. It has been dead code since 2.6.8 and nobody has missed it. Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Kai Mäkisara authored
This patch changes the sense descriptor initialization a little faster. Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Mark Haverkamp authored
From Mark Salyzyn at Adaptec. This fixes the way the aac device's id is calculated. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Mike Anderson authored
Add TASK_ABORTED and ACA_ACTIVE to status_byte macro. Signed-off-by: Mike Anderson <andmike@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Kai Mäkisara authored
Problems fixed: - the sense descriptor is cleared before filling - BSF and BSFM are added to the commands causing automatic writing of filemark if the previous operation was write (tar expects this) - the block number is set to unknown (-1) if spacing forward ends at BLANK CHECK - debugging printout of spacing counts fixed to work also with 64-bit systems Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
Prevents a compile warning about vmalloc/vfree being undefined Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
pci_ids.h (removal of on ID next to addition of another) scsi_transport_iscsi.c: change of attribute_container_unregister to transport_container_unregister. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Adrian Bunk authored
The only user of fc_type_trans (drivers/net/fc/iph5526.c) is removed in Linus' tree. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-
bk://linux-dj.bkbits.net/agpgartLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-