mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
tipc: apply bearer link tolerance on running links
Currently, the default link tolerance set in struct tipc_bearer only has effect on links going up after that moment. I.e., a user has to reset all the node's links across that bearer to have the new value applied. This is too limiting and disturbing on a running cluster to be useful. We now change this so that also already existing links are updated dynamically, without any need for a reset, when the bearer value is changed. We leverage the already existing per-link functionality for this to achieve the wanted effect. Acked-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>
This commit is contained in:
parent
a92ac140fc
commit
37c64cf63b
4 changed files with 32 additions and 4 deletions
|
@ -65,6 +65,7 @@ void tipc_node_check_dest(struct net *net, u32 onode,
|
|||
struct tipc_media_addr *maddr,
|
||||
bool *respond, bool *dupl_addr);
|
||||
void tipc_node_delete_links(struct net *net, int bearer_id);
|
||||
void tipc_node_apply_tolerance(struct net *net, struct tipc_bearer *b);
|
||||
int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 node,
|
||||
char *linkname, size_t len);
|
||||
int tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue