]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tcp: Try to catch MSG_PEEK bug
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Oct 2009 19:41:06 +0000 (19:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Oct 2009 07:51:57 +0000 (00:51 -0700)
commitb6b39e8f3fbbb31001b836afec87bcaf4811a7bf
tree33cf8d3732bde60abc7651b0ecf78e297d7b0afb
parent55b8050353c4a212c94d7156e2bd5885225b869b
tcp: Try to catch MSG_PEEK bug

This patch tries to print out more information when we hit the
MSG_PEEK bug in tcp_recvmsg.  It's been around since at least
2005 and it's about time that we finally fix it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c