aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-ack.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rxrpc/ar-ack.c')
-rw-r--r--net/rxrpc/ar-ack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rxrpc/ar-ack.c b/net/rxrpc/ar-ack.c
index c3126e864f3c..e4d9cbcff402 100644
--- a/net/rxrpc/ar-ack.c
+++ b/net/rxrpc/ar-ack.c
@@ -19,7 +19,7 @@
19#include <net/af_rxrpc.h> 19#include <net/af_rxrpc.h>
20#include "ar-internal.h" 20#include "ar-internal.h"
21 21
22static unsigned rxrpc_ack_defer = 1; 22static unsigned int rxrpc_ack_defer = 1;
23 23
24static const char *const rxrpc_acks[] = { 24static const char *const rxrpc_acks[] = {
25 "---", "REQ", "DUP", "OOS", "WIN", "MEM", "PNG", "PNR", "DLY", "IDL", 25 "---", "REQ", "DUP", "OOS", "WIN", "MEM", "PNG", "PNR", "DLY", "IDL",
@@ -548,11 +548,11 @@ static void rxrpc_zap_tx_window(struct rxrpc_call *call)
548 * process the extra information that may be appended to an ACK packet 548 * process the extra information that may be appended to an ACK packet
549 */ 549 */
550static void rxrpc_extract_ackinfo(struct rxrpc_call *call, struct sk_buff *skb, 550static void rxrpc_extract_ackinfo(struct rxrpc_call *call, struct sk_buff *skb,
551 unsigned latest, int nAcks) 551 unsigned int latest, int nAcks)
552{ 552{
553 struct rxrpc_ackinfo ackinfo; 553 struct rxrpc_ackinfo ackinfo;
554 struct rxrpc_peer *peer; 554 struct rxrpc_peer *peer;
555 unsigned mtu; 555 unsigned int mtu;
556 556
557 if (skb_copy_bits(skb, nAcks + 3, &ackinfo, sizeof(ackinfo)) < 0) { 557 if (skb_copy_bits(skb, nAcks + 3, &ackinfo, sizeof(ackinfo)) < 0) {
558 _leave(" [no ackinfo]"); 558 _leave(" [no ackinfo]");