diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-07-03 12:47:40 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-05 17:40:11 -0700 |
commit | f50f95cab735ebe2993e8d1549f0615bad05f3f2 (patch) | |
tree | 4cbb7f7df0c50c35554a0cbfd58413894bae72c8 /net/wireless | |
parent | 3663c306609a9322a484fba28b3da66142c50ee9 (diff) | |
download | op-kernel-dev-f50f95cab735ebe2993e8d1549f0615bad05f3f2.zip op-kernel-dev-f50f95cab735ebe2993e8d1549f0615bad05f3f2.tar.gz |
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 <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions