summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel@sortiz.org>2006-09-27 20:05:38 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:46 -0700
commitda349f1c2e0a0bf8958cdaf14e8f33acdf3182a5 (patch)
treec959dd1fe9a4104f94febd0ac6928d9f286f12f8 /lib
parent1a9e9ef684ec2bd27fcdb373a82957a0c050daf6 (diff)
downloadlinux-da349f1c2e0a0bf8958cdaf14e8f33acdf3182a5.tar.bz2
[IrDA]: af_irda.c cleanups
We lock the socket when both releasing and getting a disconnected notification. In the latter case, we also ste the socket as orphan. This fixes a potential kernel bug that can be triggered when we get the disconnection notification before closing the socket. Signed-off-by: Samuel Ortiz <samuel@sortiz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions