<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/tipc/port.c, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-12-30T02:53:29Z</updated>
<entry>
<title>tipc: rename struct port_list to struct tipc_port_list</title>
<updated>2011-12-30T02:53:29Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-12-30T01:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4584310b4a787c9b70e5507a8b5288ba32b0a909'/>
<id>urn:sha1:4584310b4a787c9b70e5507a8b5288ba32b0a909</id>
<content type='text'>
Make this rename so that it is consistent with the majority
of the other tipc structs and to assist in removing any
ambiguity with other similar names in other subsystems.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Optimize creation of connection protocol messages</title>
<updated>2011-06-24T20:18:18Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-06-01T20:21:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4a0aee47e1823025972b8f3defde432e485b7b9'/>
<id>urn:sha1:e4a0aee47e1823025972b8f3defde432e485b7b9</id>
<content type='text'>
Simplifies the creation of connection protocol messages by eliminating
the passing of information that is no longer required, is constant,
or is contained within the port structure that is issuing the message.

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Don't create payload message using connection protocol routine</title>
<updated>2011-06-24T20:18:18Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-06-01T19:48:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f55b564054e35dcd171e1191a477327528271f95'/>
<id>urn:sha1:f55b564054e35dcd171e1191a477327528271f95</id>
<content type='text'>
Modifies the logic that creates a connection termination payload
message so that it no longer (mis)uses a routine that creates a
connection protocol message. The revised code is now more easily
understood, and avoids setting several fields that are either not
present in payload messages or were being set more than once.

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Reject connection protocol message sent to unconnected port</title>
<updated>2011-06-24T20:18:18Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-06-01T19:08:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c1a551acb8b65f842824900b283a96462f907ab'/>
<id>urn:sha1:1c1a551acb8b65f842824900b283a96462f907ab</id>
<content type='text'>
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 &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Optimize creation of FIN messages</title>
<updated>2011-06-24T20:18:18Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-05-31T20:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e244a915ff7676b1567ba68102c9b53011f5b766'/>
<id>urn:sha1:e244a915ff7676b1567ba68102c9b53011f5b766</id>
<content type='text'>
Speeds up the creation of the FIN message that terminates a TIPC
connection. The typical peer termination message is now created by
duplicating the terminating port's standard payload message header
and adjusting the message size, importance, and error code fields,
rather than building all fields of the message from scratch. A FIN
message that is directed to the port itself is created the same way.
but also requires swapping the origin and destination address fields.

In addition to reducing the work required to create FIN messages,
these changes eliminate several instances of duplicated code,

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Cleanup of message header size terminology</title>
<updated>2011-06-24T20:18:17Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-05-31T19:03:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=741d9eb7b8f352071f56aacb77f5245b4e2a4fbe'/>
<id>urn:sha1:741d9eb7b8f352071f56aacb77f5245b4e2a4fbe</id>
<content type='text'>
Performs cosmetic cleanup of the symbolic names used to specify TIPC
payload message header sizes. The revised names now more accurately
reflect the payload messages in which they can appear. In addition,
several places where these payload message symbol names were being used
to create non-payload messages have been updated to use the proper
internal message symbolic name.

No functional changes are introduced by this rework.

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Optimizations &amp; corrections to message rejection</title>
<updated>2011-06-24T20:18:15Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-05-23T20:23:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7dd1bf28ccc44ef205c64aab618863faa914daa9'/>
<id>urn:sha1:7dd1bf28ccc44ef205c64aab618863faa914daa9</id>
<content type='text'>
Optimizes the creation of a returned payload message by duplicating
the original message and then updating the small number of fields
that need to be adjusted, rather than building the new message header
from scratch. In addition, certain operations that are not always
required are relocated so that they are only done if needed.

These optimizations also have the effect of addressing other issues
that were present previously:

1) Fixes a bug that caused the socket send routines to return the
size of the returned message, rather than the size of the sent
message, when a returnable payload message was sent to a non-existent
destination port.

2) The message header of the returned message now matches that of
the original message more closely. The header is now always the same
size as the original header, and some message header fields that
weren't being initialized in the returned message header are now
populated correctly -- namely the "d" and "s" bits, and the upper
bound of a multicast name instance (where present).

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Optimize routing of returned payload messages</title>
<updated>2011-06-24T20:18:15Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-05-24T17:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=017dac31dc8a25ad45421715d88c3869e299fd35'/>
<id>urn:sha1:017dac31dc8a25ad45421715d88c3869e299fd35</id>
<content type='text'>
Reduces the work involved in transmitting a returned payload message
by doing only the work necessary to route such a message directly to
the specified destination port, rather than invoking the code used
to route an arbitrary message to an arbitrary destination.

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Add sanity check to detect rejection of non-payload messages</title>
<updated>2011-06-24T20:18:15Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-05-23T17:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76d12527f74ad1b42b068252fdd2056c8ae48a99'/>
<id>urn:sha1:76d12527f74ad1b42b068252fdd2056c8ae48a99</id>
<content type='text'>
Introduces an internal sanity check to ensure that the only undeliverable
messages TIPC attempts to return to their origin are application payload
messages.

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>tipc: Standardize exit logic for message rejection handling</title>
<updated>2011-06-24T20:18:15Z</updated>
<author>
<name>Allan Stephens</name>
</author>
<published>2011-05-23T17:47:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=acc631bf6f597b36f3f014e12e69c710da610027'/>
<id>urn:sha1:acc631bf6f597b36f3f014e12e69c710da610027</id>
<content type='text'>
Modifies the routine that handles the rejection of payload messages
so that it has a single exit point that frees up the rejected message,
thereby eliminating some duplicated code.

Signed-off-by: Allan Stephens &lt;allan.stephens@windriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
</feed>
