LLC: fix procfs reading when there are saps without sockets
Subsystems (3)
PATCH 1/1 LLC: fix procfs reading when there are saps without sockets
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 =====
net/llc/llc_proc.c +0 -2
@@ -48,8 +48,6 @@ --pos; }read_unlock_bh (&sap->sk_list.lock); -if (!pos) -break ; } sk =NULL ; found:
David S. Miller
AppliedApplied, thanks Arnaldo.