git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69190e6
)
net: guard tcp_set_keepalive() to tcp sockets
author
Eric Dumazet
<edumazet@google.com>
Mon, 24 Sep 2012 07:00:11 +0000
(07:00 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 24 Sep 2012 20:51:53 +0000
(16:51 -0400)
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>
No differences found