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-- 306 bytes
leds-blinkm.txt -rw-r--r-- 1.9 KB
leds-class.txt -rw-r--r-- 4.0 KB
leds-lm3556.txt -rw-r--r-- 2.9 KB
leds-lp3944.txt -rw-r--r-- 1.5 KB
leds-lp5521.txt -rw-r--r-- 4.3 KB
leds-lp5523.txt -rw-r--r-- 2.4 KB
ledtrig-oneshot.txt -rw-r--r-- 2.2 KB
ledtrig-transient.txt -rw-r--r-- 7.2 KB

back to top