| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] LLC: fix procfs reading when there are saps without sockets |
| From: | Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> |
| Date: | Sat, 1 Nov 2003 04:55:04 -0200 |
| Cc: | Linux Networking Development Mailing List <netdev@xxxxxxxxxxx> |
| Organization: | Conectiva S.A. |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.4i |
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:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] IRDA: fix skb leak in irda_connect_indication, Arnaldo Carvalho de Melo |
|---|---|
| Previous by Thread: | [PATCH] IRDA: fix skb leak in irda_connect_indication, Arnaldo Carvalho de Melo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |