aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2022-06-15 16:59:28 +0000
committerJakub Kicinski <[email protected]>2022-06-17 03:44:04 +0000
commit9f1c3ad65406b3ee9e03884bd1d8c6973a76b3eb (patch)
tree35de8cf665e756b6fd8fbbbe9a17a7b433615ab4 /net/ipv4/tcp_output.c
parentnet: ipa: pass GSI pointer to gsi_evt_ring_rx_update() (diff)
downloadkernel-9f1c3ad65406b3ee9e03884bd1d8c6973a76b3eb.tar.gz
kernel-9f1c3ad65406b3ee9e03884bd1d8c6973a76b3eb.zip
net: ipa: call gsi_evt_ring_rx_update() unconditionally
When an RX transaction completes, we update the trans->len field to contain the actual number of bytes received. This is done in a loop in gsi_evt_ring_rx_update(). Change that function so it checks the data transfer direction recorded in the transaction, and only updates trans->len for RX transfers. Then call it unconditionally. This means events for TX endpoints will run through the loop without otherwise doing anything, but this will change shortly. Signed-off-by: Alex Elder <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions