From: Vlad Yasevich Date: Tue, 3 Jul 2007 16:47:40 +0000 (-0400) Subject: SCTP: Check to make sure file is valid before setting timeout X-Git-Tag: v2.6.22~11^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f50f95cab735ebe2993e8d1549f0615bad05f3f2;p=pandora-kernel.git SCTP: Check to make sure file is valid before setting timeout In-kernel sockets created with sock_create_kern don't usually have a file and file descriptor allocated to them. As a result, when SCTP tries to check the non-blocking flag, we Oops when dereferencing a NULL file pointer. Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed