/openbmc/linux/net/tipc/ |
H A D | name_distr.h | diff 37922ea4a3105176357c8d565a9d982c4a08714a Thu Mar 29 16:20:43 CDT 2018 Jon Maloy <jon.maloy@ericsson.com> tipc: permit overlapping service ranges in name table
With the new RB tree structure for service ranges it becomes possible to solve an old problem; - we can now allow overlapping service ranges in the table.
When inserting a new service range to the tree, we use 'lower' as primary key, and when necessary 'upper' as secondary key.
Since there may now be multiple service ranges matching an indicated 'lower' value, we must also add the 'upper' value to the functions used for removing publications, so that the correct, corresponding range item can be found.
These changes guarantee that a well-formed publication/withdrawal item from a peer node never will be rejected, and make it possible to eliminate the problematic backlog functionality we currently have for handling such cases.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | name_table.h | diff 37922ea4a3105176357c8d565a9d982c4a08714a Thu Mar 29 16:20:43 CDT 2018 Jon Maloy <jon.maloy@ericsson.com> tipc: permit overlapping service ranges in name table
With the new RB tree structure for service ranges it becomes possible to solve an old problem; - we can now allow overlapping service ranges in the table.
When inserting a new service range to the tree, we use 'lower' as primary key, and when necessary 'upper' as secondary key.
Since there may now be multiple service ranges matching an indicated 'lower' value, we must also add the 'upper' value to the functions used for removing publications, so that the correct, corresponding range item can be found.
These changes guarantee that a well-formed publication/withdrawal item from a peer node never will be rejected, and make it possible to eliminate the problematic backlog functionality we currently have for handling such cases.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | net.c | diff 37922ea4a3105176357c8d565a9d982c4a08714a Thu Mar 29 16:20:43 CDT 2018 Jon Maloy <jon.maloy@ericsson.com> tipc: permit overlapping service ranges in name table
With the new RB tree structure for service ranges it becomes possible to solve an old problem; - we can now allow overlapping service ranges in the table.
When inserting a new service range to the tree, we use 'lower' as primary key, and when necessary 'upper' as secondary key.
Since there may now be multiple service ranges matching an indicated 'lower' value, we must also add the 'upper' value to the functions used for removing publications, so that the correct, corresponding range item can be found.
These changes guarantee that a well-formed publication/withdrawal item from a peer node never will be rejected, and make it possible to eliminate the problematic backlog functionality we currently have for handling such cases.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | name_distr.c | diff 37922ea4a3105176357c8d565a9d982c4a08714a Thu Mar 29 16:20:43 CDT 2018 Jon Maloy <jon.maloy@ericsson.com> tipc: permit overlapping service ranges in name table
With the new RB tree structure for service ranges it becomes possible to solve an old problem; - we can now allow overlapping service ranges in the table.
When inserting a new service range to the tree, we use 'lower' as primary key, and when necessary 'upper' as secondary key.
Since there may now be multiple service ranges matching an indicated 'lower' value, we must also add the 'upper' value to the functions used for removing publications, so that the correct, corresponding range item can be found.
These changes guarantee that a well-formed publication/withdrawal item from a peer node never will be rejected, and make it possible to eliminate the problematic backlog functionality we currently have for handling such cases.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | name_table.c | diff 37922ea4a3105176357c8d565a9d982c4a08714a Thu Mar 29 16:20:43 CDT 2018 Jon Maloy <jon.maloy@ericsson.com> tipc: permit overlapping service ranges in name table
With the new RB tree structure for service ranges it becomes possible to solve an old problem; - we can now allow overlapping service ranges in the table.
When inserting a new service range to the tree, we use 'lower' as primary key, and when necessary 'upper' as secondary key.
Since there may now be multiple service ranges matching an indicated 'lower' value, we must also add the 'upper' value to the functions used for removing publications, so that the correct, corresponding range item can be found.
These changes guarantee that a well-formed publication/withdrawal item from a peer node never will be rejected, and make it possible to eliminate the problematic backlog functionality we currently have for handling such cases.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | node.c | diff 37922ea4a3105176357c8d565a9d982c4a08714a Thu Mar 29 16:20:43 CDT 2018 Jon Maloy <jon.maloy@ericsson.com> tipc: permit overlapping service ranges in name table
With the new RB tree structure for service ranges it becomes possible to solve an old problem; - we can now allow overlapping service ranges in the table.
When inserting a new service range to the tree, we use 'lower' as primary key, and when necessary 'upper' as secondary key.
Since there may now be multiple service ranges matching an indicated 'lower' value, we must also add the 'upper' value to the functions used for removing publications, so that the correct, corresponding range item can be found.
These changes guarantee that a well-formed publication/withdrawal item from a peer node never will be rejected, and make it possible to eliminate the problematic backlog functionality we currently have for handling such cases.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | socket.c | diff 37922ea4a3105176357c8d565a9d982c4a08714a Thu Mar 29 16:20:43 CDT 2018 Jon Maloy <jon.maloy@ericsson.com> tipc: permit overlapping service ranges in name table
With the new RB tree structure for service ranges it becomes possible to solve an old problem; - we can now allow overlapping service ranges in the table.
When inserting a new service range to the tree, we use 'lower' as primary key, and when necessary 'upper' as secondary key.
Since there may now be multiple service ranges matching an indicated 'lower' value, we must also add the 'upper' value to the functions used for removing publications, so that the correct, corresponding range item can be found.
These changes guarantee that a well-formed publication/withdrawal item from a peer node never will be rejected, and make it possible to eliminate the problematic backlog functionality we currently have for handling such cases.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|