summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAllan Stephens2010-08-17 13:00:09 +0200
committerDavid S. Miller2010-08-18 02:31:55 +0200
commit5b1f7bdeb698547cc319c7a302a5acf585227a92 (patch)
tree1b86f815e592ead732320574b7a047ccd74e86db /.gitignore
parenttipc: Prevent crash when broadcast link cannot send to all nodes (diff)
downloadkernel-qcow2-linux-5b1f7bdeb698547cc319c7a302a5acf585227a92.tar.gz
kernel-qcow2-linux-5b1f7bdeb698547cc319c7a302a5acf585227a92.tar.xz
kernel-qcow2-linux-5b1f7bdeb698547cc319c7a302a5acf585227a92.zip
tipc: Fix premature broadcast advertisement by sending node
Prevent a TIPC node from sending out a LINK_STATE message advertising a broadcast message that it is in the process of sending, but has not yet actually sent. Previously, it was possible for a link timeout to occur in between the time the broadcast link updated its "last message sent" counter and the time the broadcast message was passed to the broadcast bearer for transmission. This ensures that the code which issues the LINK_STATE message isn't informed of the new message until the broadcast bearer has had a chance to send it. Note: The "last message sent" value is stored in the "fsm_msg_count" field of the link structure used by the broadcast link. Since the broadcast link doesn't utilize the normal link FSM, this field can be re-used rather than adding a new field to the broadcast link. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions