From: Allan Stephens Date: Wed, 1 Jun 2011 19:08:10 +0000 (-0400) Subject: tipc: Reject connection protocol message sent to unconnected port X-Git-Tag: v3.1-rc1~316^2~349^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c1a551acb8b65f842824900b283a96462f907ab;p=pandora-kernel.git tipc: Reject connection protocol message sent to unconnected port Restructures the logic used in tipc_port_recv_proto_msg() to ensure that incoming connection protocol messages are handled properly. The routine now uses a two-stage process that first ensures the message applies on an existing connection and then processes the request. This corrects a loophole that allowed a connection probe request to be processed if it was sent to an unconnected port that had no names bound to it. Signed-off-by: Allan Stephens Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed