* [PATCH] LLC: fix procfs reading when there are saps without sockets
@ 2003-11-01 6:55 Arnaldo Carvalho de Melo
2003-11-02 7:10 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2003-11-01 6:55 UTC (permalink / raw)
To: David S. Miller; +Cc: Linux Networking Development Mailing List
Hi David,
Noticed while on a ssh over PF_LLC session on a machine that had
Appletalk/SNAP running, doing a cat /proc/net/llc/socket returned nothing
when there were the sshd listening socket and the ssh connection. Just
removing this anyway uneeded test fix this bug. Please apply.
Best Regards,
- Arnaldo
===== net/llc/llc_proc.c 1.20 vs edited =====
--- 1.20/net/llc/llc_proc.c Thu Oct 30 16:35:41 2003
+++ edited/net/llc/llc_proc.c Sat Nov 1 04:48:06 2003
@@ -48,8 +48,6 @@
--pos;
}
read_unlock_bh(&sap->sk_list.lock);
- if (!pos)
- break;
}
sk = NULL;
found:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-02 7:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-01 6:55 [PATCH] LLC: fix procfs reading when there are saps without sockets Arnaldo Carvalho de Melo
2003-11-02 7:10 ` David S. Miller
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).