netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/9] Fix leaking of kernel heap addresses in net/
@ 2010-11-07 16:31 Dan Rosenberg
  0 siblings, 0 replies; only message in thread
From: Dan Rosenberg @ 2010-11-07 16:31 UTC (permalink / raw)
  To: chas, davem, kuznet, pekkas, jmorris, yoshfuji, kaber,
	remi.denis-courmont
  Cc: netdev, security, stable

Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com>

diff -urp linux-2.6.37-rc1.orig/net/atm/proc.c linux-2.6.37-rc1/net/atm/proc.c
--- linux-2.6.37-rc1.orig/net/atm/proc.c	2010-11-01 07:54:12.000000000 -0400
+++ linux-2.6.37-rc1/net/atm/proc.c	2010-11-07 10:22:40.000000000 -0500
@@ -191,7 +191,7 @@ static void vcc_info(struct seq_file *se
 {
 	struct sock *sk = sk_atm(vcc);
 
-	seq_printf(seq, "%p ", vcc);
+	seq_printf(seq, "%lu ", sock_i_ino(sk));
 	if (!vcc->dev)
 		seq_printf(seq, "Unassigned    ");
 	else





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-07 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-07 16:31 [PATCH 1/9] Fix leaking of kernel heap addresses in net/ Dan Rosenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).