[PATCH] uml: make daemon transport behave properly
authorPaolo 'Blaisorblade' Giarrusso <[email protected]>
Thu, 19 Jan 2006 01:42:53 +0000 (17:42 -0800)
committerLinus Torvalds <[email protected]>
Thu, 19 Jan 2006 03:20:20 +0000 (19:20 -0800)
commitc42791b6ec5453cd7910eac7bfdd88f27173f81c
treef874b541bfacb27df2bcfdf6fe5823353d431635
parent3b948068b84b9759cdf0965abf3074dcb9230e98
[PATCH] uml: make daemon transport behave properly

Avoid uninitialized data in the daemon_data structure.  I used this transport
before doing proper setup before-hand, and I got some very nice SLAB
corruption due to freeing crap pointers.  So just make sure to clear
everything when appropriate.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Cc: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/um/drivers/daemon_kern.c
arch/um/drivers/daemon_user.c