]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Fix bug in connection setup via native API
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 5 Jun 2008 00:28:21 +0000 (17:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2008 00:28:21 +0000 (17:28 -0700)
commit75aa1a06fb3e4ca5a7f4df5c2057c4e9f346f187
treeec3d3cdb8ac7a8ba797aa05b163c7b328b7efd2f
parent0afcbf583771233a1c176ef247f8099e9a629b2f
tipc: Fix bug in connection setup via native API

This patch fixes a bug that prevented TIPC from receiving a
connection setup request message on a native TIPC port.
The revised connection setup logic ensures that validation
of the source of a connection-based message is skipped if
the port is not yet connected to a peer.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/port.c