diff options
Diffstat (limited to 'net/rxrpc')
-rw-r--r-- | net/rxrpc/ar-input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c index ceb5d619a1d4..91b5bbb003e2 100644 --- a/net/rxrpc/ar-input.c +++ b/net/rxrpc/ar-input.c | |||
@@ -168,7 +168,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call, | |||
168 | /* we may already have the packet in the out of sequence queue */ | 168 | /* we may already have the packet in the out of sequence queue */ |
169 | ackbit = seq - (call->rx_data_eaten + 1); | 169 | ackbit = seq - (call->rx_data_eaten + 1); |
170 | ASSERTCMP(ackbit, >=, 0); | 170 | ASSERTCMP(ackbit, >=, 0); |
171 | if (__test_and_set_bit(ackbit, &call->ackr_window)) { | 171 | if (__test_and_set_bit(ackbit, call->ackr_window)) { |
172 | _debug("dup oos #%u [%u,%u]", | 172 | _debug("dup oos #%u [%u,%u]", |
173 | seq, call->rx_data_eaten, call->rx_data_post); | 173 | seq, call->rx_data_eaten, call->rx_data_post); |
174 | ack = RXRPC_ACK_DUPLICATE; | 174 | ack = RXRPC_ACK_DUPLICATE; |
@@ -177,7 +177,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call, | |||
177 | 177 | ||
178 | if (seq >= call->ackr_win_top) { | 178 | if (seq >= call->ackr_win_top) { |
179 | _debug("exceed #%u [%u]", seq, call->ackr_win_top); | 179 | _debug("exceed #%u [%u]", seq, call->ackr_win_top); |
180 | __clear_bit(ackbit, &call->ackr_window); | 180 | __clear_bit(ackbit, call->ackr_window); |
181 | ack = RXRPC_ACK_EXCEEDS_WINDOW; | 181 | ack = RXRPC_ACK_EXCEEDS_WINDOW; |
182 | goto discard_and_ack; | 182 | goto discard_and_ack; |
183 | } | 183 | } |
@@ -215,7 +215,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call, | |||
215 | ret = rxrpc_queue_rcv_skb(call, skb, false, terminal); | 215 | ret = rxrpc_queue_rcv_skb(call, skb, false, terminal); |
216 | if (ret < 0) { | 216 | if (ret < 0) { |
217 | if (ret == -ENOMEM || ret == -ENOBUFS) { | 217 | if (ret == -ENOMEM || ret == -ENOBUFS) { |
218 | __clear_bit(ackbit, &call->ackr_window); | 218 | __clear_bit(ackbit, call->ackr_window); |
219 | ack = RXRPC_ACK_NOSPACE; | 219 | ack = RXRPC_ACK_NOSPACE; |
220 | goto discard_and_ack; | 220 | goto discard_and_ack; |
221 | } | 221 | } |