10 Nov, 2005
2 commits
-
This allows us to eliminate the casts in the drivers, and eventually
remove the use of the device_driver function pointer methods for
platform device drivers.Signed-off-by: Russell King
Acked-by: Greg Kroah-Hartman -
Introduce struct platform_driver. This allows the platform device
driver methods to be passed a platform_device structure instead of
instead of a plain device structure, and therefore requiring casting
in every platform driver.We introduce this in such a way that any existing platform drivers
registered directly via driver_register continue to work as before,
thereby allowing a gradual conversion to the new platform_driver
methods.Signed-off-by: Russell King
Acked-by: Greg Kroah-Hartman
09 Nov, 2005
33 commits
-
You could open the /proc/sys/net/ipv4/conf// file, then
wait for interface to go away, try to grab as much memory as possible in
hope to hit the (kfreed) ctl_table. Then fill it with pointers to your
function. Then do read from file you've opened and if you are lucky,
you'll get it called as ->proc_handler() in kernel mode.So this is at least an Oops and possibly more. It does depend on an
interface going away though, so less of a security risk than it would
otherwise be.Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Linus Torvalds -
Update the support for the 16550 present on most IOC3 configurations to use
the current API.Signed-off-by: Ralf Baechle
Signed-off-by: Russell King -
Patch from Nicolas Pitre
Make it completely deterministic and leave nothing to chance
(even if it had at worst 0.001% probability of failing).Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King -
Patch from Nicolas Pitre
Noticed by Woody Suwalski .
Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King -
Patch from Ben Dooks
Force a watchdog reset if the system fails to
decompress properly.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
When non-leader thread does exec, de_thread calls release_task(leader) before
calling exit_itimers(). If local timer interrupt happens in between, it can
oops in send_group_sigqueue() while taking ->sighand->siglock == NULL.However, we can't change send_group_sigqueue() to check p->signal != NULL,
because sys_timer_create() does get_task_struct() only in SIGEV_THREAD_ID
case. So it is possible that this task_struct was already freed and we can't
trust p->signal.This patch changes de_thread() so that leader released after exit_itimers()
call.Signed-off-by: Oleg Nesterov
Acked-by: Chris Wright
Signed-off-by: Linus Torvalds -
Patch from Dirk Opfer
This patch updates the tosa machine to use the new SharpSL PCMCIA layer introduced with Patch #3093/1
Depends on #3093/1
Signed-off-by: Dirk Opfer
Signed-off-by: Richard Purdie
Signed-off-by: Russell King -
Patch from Richard Purdie
The Sharp SL-Cxx00 models have a combined power control for the SD
and CF slot 0. This patch adds hooks to the scoop driver to allow
machines to provide a custom control function for this and such a
function is added for spitz/akita/borzoi.It also moves the gpio init code into the machine files as this
is machine dependent and differs between some models. A couple of
warnings when compiling for collie are also fixed.Signed-off-by: Richard Purdie
Signed-off-by: Russell King -
Patch from Ben Dooks
Fix the map_desc entries to use the new .pfn
initialiser for the Simtec BAST machine support.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Patch from Ben Dooks
Fix the initialisation of the map_desc fields
in the Thorcom VR1000 machine support to use
the new .pfn initialiser.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Patch from Dirk Opfer
This patch adds MMC, IRDA and UDC support to the Sharp SL-6000x device. Also it adds a platform device for the keyboard driver.
Signed-off-by: Dirk Opfer
Signed-off-by: Richard Purdie
Signed-off-by: Russell King -
Add infrastructure for supporting per-cpu local timers to update
the profiling information and update system time accounting.Signed-off-by: Russell King
-
Update comment on get_user_insn to the more general "pte lock", which may
or may not be the page_table_lock. Note vmtruncate handled like kswapd.Signed-off-by: Hugh Dickins
Signed-off-by: David S. Miller -
Signed-off-by: David S. Miller
-
This patch removes all relics of the /proc usage from the Bluetooth
subsystem core and its upper layers. All the previous information are
now available via /sys/class/bluetooth through appropriate functions.Signed-off-by: Marcel Holtmann
Signed-off-by: David S. Miller -
This patch adds the endian annotations to the Bluetooth core.
Signed-off-by: Marcel Holtmann
Signed-off-by: David S. Miller -
This patchs adds the module parameter ignore_dga to the HCI USB driver
which makes it possible to prevent this driver from being loaded by
some buggy Digianswer devices.Signed-off-by: Marcel Holtmann
Signed-off-by: David S. Miller -
When ip_queue_xmit calls ip_select_ident_more for IP identity selection
it gives it the wrong packet count for TSO packets. The ip_select_*
functions expect one less than the number of packets, so we need to
subtract one for TSO packets.This bug was diagnosed and fixed by Tom Young.
Signed-off-by: Herbert Xu
Signed-off-by: David S. Miller -
From: Jesper Juhl
This is the net/ part of the big kfree cleanup patch.
Remove pointless checks for NULL prior to calling kfree() in net/.
Signed-off-by: Jesper Juhl
Cc: "David S. Miller"
Cc: Arnaldo Carvalho de Melo
Acked-by: Marcel Holtmann
Acked-by: YOSHIFUJI Hideaki
Signed-off-by: Andrew Morton -
From: Andrew Morton
Two missing unlocks, as noted by Ted Unangst
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller -
From: Matt Domsch
The patch below implements the Microsoft Point-to-Point Encryption method
as a PPP compressor/decompressor. This is necessary for Linux clients and
servers to interoperate with Microsoft Point-to-Point Tunneling Protocol
(PPTP) servers (either Microsoft PPTP servers or the poptop project) which
use MPPE to encrypt data when creating a VPN.This patch differs from the kernel_ppp_mppe DKMS pacakge at
pptpclient.sourceforge.net by utilizing the kernel crypto routines rather
than providing its own SHA1 and arcfour implementations.Minor changes to ppp_generic.c try to prevent a link from disabling
compression (in our case, the encryption) after it has started using
compression (encryption).Feedback to please.
Signed-off-by: Matt Domsch
Cc: James Cameron
Cc: "David S. Miller"
Signed-off-by: Brice Goglin
Acked-by: Paul Mackerras
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller -
From: "Philippe De Muyter"
This patch avoids ppp-generated kernel crashes on machines where unaligned
accesses are forbidden (ie: m68000), by fixing ppp alignment setting for
reused skb's.Signed-off-by: Philippe De Muyter
Cc: "David S. Miller"
Cc: Paul Mackerras
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller -
There was a fix in 2.6.13 that changed the behaviour of
ip_vs_conn_expire_now function not to put reference to connection,
its callers should hold write lock or connection refcnt. But we
forgot to convert one caller, when the real server for connection
is unavailable caller should put the connection reference. It
happens only when sysctl var expire_nodest_conn is set to 1 and
such connections never expire. Thanks to Roberto Nibali who found
the problem and tested a 2.4.32-rc2 patch, which is equal to this
2.6 version. Patch for 2.4 is already sent to Marcelo.Signed-off-by: Julian Anastasov
Signed-off-by: Roberto Nibali
Signed-off-by: David S. Miller -
There is no reason for sk_add_backlog to be a macro. It can
just be an inline function and get type checking.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Fixes an invalid memory reference when the basic classifier
is used without any ematches but just actions.Signed-off-by: Thomas Graf
Signed-off-by: David S. Miller -
Patch from Carlo Comin
Signed-off-by: Evgeniy Polyakov
Signed-off-by: David S. Miller -
Choose more appropriate source address; e.g.
- outgoing interface
- non-deprecated
- scope
- matching labelSigned-off-by: YOSHIFUJI Hideaki
Signed-off-by: David S. Miller -
Signed-off-by: YOSHIFUJI Hideaki
Signed-off-by: David S. Miller -
Signed-off-by: YOSHIFUJI Hideaki
Signed-off-by: David S. Miller
08 Nov, 2005
5 commits
-
Signed-off-by: Russell King
-
arch/arm/kernel/irq.c:998:26: warning: Using plain integer as NULL pointer
arch/arm/kernel/smp.c:145:25: warning: Using plain integer as NULL pointer
arch/arm/kernel/smp.c:362:5: warning: symbol 'smp_call_function_on_cpu' was not declared. Should it be static?
drivers/video/amba-clcd.c:521:12: warning: symbol 'amba_clcdfb_init' was not declared. Should it be static?Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Until we have local timer support, we need to broadcast the
timer interrupt to the other CPUs. Also, add the missing
smp_send_timer() prototype to asm/smp.hSigned-off-by: Russell King