From: Dmitry Mishin Date: Thu, 31 Aug 2006 22:28:39 +0000 (-0700) Subject: [NET]: Fix sk->sk_filter field access X-Git-Tag: v2.6.19-rc1~1272^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fda9ef5d679b07c9d9097aaf6ef7f069d794a8f9;p=pandora-kernel.git [NET]: Fix sk->sk_filter field access Function sk_filter() is called from tcp_v{4,6}_rcv() functions with arg needlock = 0, while socket is not locked at that moment. In order to avoid this and similar issues in the future, use rcu for sk->sk_filter field read protection. Signed-off-by: Dmitry Mishin Signed-off-by: Alexey Kuznetsov Signed-off-by: Kirill Korotaev --- Reading git-diff-tree failed