From: Jarek Poplawski Date: Wed, 2 Apr 2008 06:56:17 +0000 (-0700) Subject: [ROSE/AX25] af_rose: rose_release() fix X-Git-Tag: v2.6.25-rc9~99^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4965291acf8cc2c31dcb2fc7d292a04ee08da2dd;p=pandora-kernel.git [ROSE/AX25] af_rose: rose_release() fix rose_release() doesn't release sockets properly, e.g. it skips sock_orphan(), so OOPSes are triggered in sock_def_write_space(), which was observed especially while ROSE skbs were kfreed from ax25_frames_acked(). There is also sock_hold() and lock_sock() added - similarly to ax25_release(). Thanks to Bernard Pidoux for substantial help in debugging this problem. Signed-off-by: Jarek Poplawski Reported-and-tested-by: Bernard Pidoux Signed-off-by: David S. Miller --- Reading git-diff-tree failed