summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/ibmvnic.c
diff options
context:
space:
mode:
authorSowmini Varadhan2018-01-18 22:11:07 +0100
committerDavid S. Miller2018-01-22 21:43:54 +0100
commitb589513e6354a5fd6934823b7fd66bffad41137a (patch)
tree0d9e892d669ca556ac5ce566d949aa16ae6f0d9a /drivers/net/ethernet/ibm/ibmvnic.c
parentusbnet: silence an unnecessary warning (diff)
downloadkernel-qcow2-linux-b589513e6354a5fd6934823b7fd66bffad41137a.tar.gz
kernel-qcow2-linux-b589513e6354a5fd6934823b7fd66bffad41137a.tar.xz
kernel-qcow2-linux-b589513e6354a5fd6934823b7fd66bffad41137a.zip
rds: tcp: compute m_ack_seq as offset from ->write_seq
rds-tcp uses m_ack_seq to track the tcp ack# that indicates that the peer has received a rds_message. The m_ack_seq is used in rds_tcp_is_acked() to figure out when it is safe to drop the rds_message from the RDS retransmit queue. The m_ack_seq must be calculated as an offset from the right edge of the in-flight tcp buffer, i.e., it should be based on the ->write_seq, not the ->snd_nxt. Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.c')
0 files changed, 0 insertions, 0 deletions