summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2015-05-26 12:40:19 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-27 02:43:03 +0300
commitf3903bcc0091df871ac64261f65ed2e4c3519d39 (patch)
tree48a2abb9c3783e64a93770a5ea43889d9445cd23 /net/ipv4
parent05c985436dfe81ab784251a54dd69be5b2dea98a (diff)
downloadlinux-f3903bcc0091df871ac64261f65ed2e4c3519d39.tar.xz
tipc: fix bug in link protocol message create function
In commit dd3f9e70f59f43a5712eba9cf3ee4f1e6999540c ("tipc: add packet sequence number at instant of transmission") we made a change with the consequence that packets in the link backlog queue don't contain valid sequence numbers. However, when we create a link protocol message, we still use the sequence number of the first packet in the backlog, if there is any, as "next_sent" indicator in the message. This may entail unnecessary retransissions or stale packet transmission when there is very low traffic on the link. This commit fixes this issue by only using the current value of tipc_link::snd_nxt as indicator. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions