Revision 3e10986d1d698140747fcfc2761ec9cb64c1d582 authored by Eric Dumazet on 24 September 2012, 07:00:11 UTC, committed by David S. Miller on 24 September 2012, 20:51:53 UTC
Its possible to use RAW sockets to get a crash in
tcp_set_keepalive() / sk_reset_timer()

Fix is to make sure socket is a SOCK_STREAM one.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 69190e6
History
File Mode Size
00-INDEX -rw-r--r-- 333 bytes
Makefile -rw-r--r-- 441 bytes
cdrom-standard.tex -rw-r--r-- 50.2 KB
ide-cd -rw-r--r-- 18.9 KB
packet-writing.txt -rw-r--r-- 3.8 KB

back to top