All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/10] Fix leaking of kernel heap addresses in net/
@ 2010-11-12  1:06 ` Dan Rosenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Rosenberg @ 2010-11-12  1:06 UTC (permalink / raw)
  To: David S. Miller, Oliver Hartkopp, Alexey Kuznetsov, Urs Thuermann,
	Hideaki

diff --git a/net/atm/proc.c b/net/atm/proc.c
index f85da07..21ec2ba 100644
--- a/net/atm/proc.c
+++ b/net/atm/proc.c
@@ -191,7 +191,7 @@ static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc)
 {
 	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 related	[flat|nested] 2+ messages in thread

* [PATCH 1/10] Fix leaking of kernel heap addresses in net/
@ 2010-11-12  1:06 ` Dan Rosenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Rosenberg @ 2010-11-12  1:06 UTC (permalink / raw)
  To: David S. Miller, Oliver Hartkopp, Alexey Kuznetsov, Urs Thuermann,
	Hideaki 

diff --git a/net/atm/proc.c b/net/atm/proc.c
index f85da07..21ec2ba 100644
--- a/net/atm/proc.c
+++ b/net/atm/proc.c
@@ -191,7 +191,7 @@ static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc)
 {
 	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 related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-12  1:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12  1:06 [PATCH 1/10] Fix leaking of kernel heap addresses in net/ Dan Rosenberg
2010-11-12  1:06 ` Dan Rosenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.