diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-04-02 15:33:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 22:27:12 +0200 |
commit | 2da7142516527a5213588f47ed302e79a5d9527a (patch) | |
tree | 6a01a2fbb9828c072ad2518bb0f105b13b35f189 /net/tipc/link.h | |
parent | Merge branch 'mlx4-next' (diff) | |
download | linux-2da7142516527a5213588f47ed302e79a5d9527a.tar.xz linux-2da7142516527a5213588f47ed302e79a5d9527a.zip |
tipc: drop tunneled packet duplicates at reception
In commit 8b4ed8634f8b3f9aacfc42b4a872d30c36b9e255
("tipc: eliminate race condition at dual link establishment")
we introduced a parallel link synchronization mechanism that
guarentees sequential delivery even for users switching from
an old to a newly established link. The new mechanism makes it
unnecessary to deliver the tunneled duplicate packets back to
the old link, as we are currently doing. It is now sufficient
to use the last tunneled packet's inner sequence number as
synchronization point between the two parallel links, whereafter
it can be dropped.
In this commit, we drop the duplicate packets arriving on the new
link, after updating the synchronization point at each new arrival.
Although it would now have been sufficient for the other endpoint
to only tunnel the last packet in its send queue, and not the
entire queue, we must still do this to maintain compatibility
with older nodes.
This commit makes it possible to get rid if some complex
interaction between the two parallel links.
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.h')
0 files changed, 0 insertions, 0 deletions