From: Samuel Ortiz Date: Thu, 28 Sep 2006 03:05:38 +0000 (-0700) Subject: [IrDA]: af_irda.c cleanups X-Git-Tag: v2.6.19-rc1~858^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da349f1c2e0a0bf8958cdaf14e8f33acdf3182a5;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed