From: Eric Dumazet <redacted>
Date: Mon, 24 Sep 2012 19:00:11 +0200
Signed-off-by: Eric Dumazet <edumazet@google.com>
I know you meant "From: Eric Dumazet [off-list ref]"
here :-)
[PATCH] net: guard tcp_set_keepalive() to tcp sockets
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 <redacted>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied and queued up for -stable, thanks Eric.