From: Pavel Emelyanov Date: Mon, 29 Oct 2012 05:05:33 +0000 (+0000) Subject: tcp-repair: Handle zero-length data put in rcv queue X-Git-Tag: v3.7-rc4~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c454e6111d1ef4268fe98e87087216e51c2718c3;p=pandora-kernel.git tcp-repair: Handle zero-length data put in rcv queue When sending data into a tcp socket in repair state we should check for the amount of data being 0 explicitly. Otherwise we'll have an skb with seq == end_seq in rcv queue, but tcp doesn't expect this to happen (in particular a warn_on in tcp_recvmsg shoots). Signed-off-by: Pavel Emelyanov Reported-by: Giorgos Mavrikas Signed-off-by: David S. Miller --- Reading git-diff-tree failed