kostoulhs/android_kernel_samsung_msm8930-common — pull request #6 by kostoulhs (2014-09-16 09:35:29+00:00)
Title: 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
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller