From: Eric Dumazet Date: Tue, 22 Mar 2011 01:16:39 +0000 (-0700) Subject: ipx: fix ipx_release() X-Git-Tag: v2.6.39-rc1~390^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=674f2115995b7b588cbf3540c9f9b2448a8c7ea8;p=pandora-kernel.git ipx: fix ipx_release() Commit b0d0d915d1d1a0 (remove the BKL) added a regression, because sock_put() can free memory while we are going to use it later. Fix is to delay sock_put() _after_ release_sock(). Reported-by: Ingo Molnar Tested-by: Ingo Molnar Signed-off-by: Eric Dumazet Acked-by: Arnd Bergmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed