]> Pileus Git - ~andy/linux/blobdiff - net/rxrpc/ar-output.c
Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / net / rxrpc / ar-output.c
index 338d793c71130f7546ac713c21a3cc01bae7f1e4..16ae88762d00dae80d0bfcfe0ec0b467372c62ce 100644 (file)
@@ -486,7 +486,7 @@ static void rxrpc_queue_packet(struct rxrpc_call *call, struct sk_buff *skb,
        _proto("Tx DATA %%%u { #%u }",
               ntohl(sp->hdr.serial), ntohl(sp->hdr.seq));
 
-       sp->need_resend = 0;
+       sp->need_resend = false;
        sp->resend_at = jiffies + rxrpc_resend_timeout * HZ;
        if (!test_and_set_bit(RXRPC_CALL_RUN_RTIMER, &call->flags)) {
                _debug("run timer");
@@ -508,7 +508,7 @@ static void rxrpc_queue_packet(struct rxrpc_call *call, struct sk_buff *skb,
 
        if (ret < 0) {
                _debug("need instant resend %d", ret);
-               sp->need_resend = 1;
+               sp->need_resend = true;
                rxrpc_instant_resend(call);
        }