Patchwork AF_RXRPC: Handle receiving ACKALL packets

login
register
mail settings
Submitter David Howells
Date Feb. 28, 2011, 1:27 p.m.
Message ID <20110228132743.30463.33897.stgit@warthog.procyon.org.uk>
Download mbox | patch
Permalink /patch/84832/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Howells - Feb. 28, 2011, 1:27 p.m.
The OpenAFS server is now sending ACKALL packets, so we need to handle them.
Otherwise we report a protocol error and abort.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 net/rxrpc/ar-input.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - March 3, 2011, 6:19 a.m.
From: David Howells <dhowells@redhat.com>
Date: Mon, 28 Feb 2011 13:27:43 +0000

> The OpenAFS server is now sending ACKALL packets, so we need to handle them.
> Otherwise we report a protocol error and abort.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c
index a4fc974..996d3ef 100644
--- a/net/rxrpc/ar-input.c
+++ b/net/rxrpc/ar-input.c
@@ -423,6 +423,7 @@  void rxrpc_fast_process_packet(struct rxrpc_call *call, struct sk_buff *skb)
 			goto protocol_error;
 		}
 
+	case RXRPC_PACKET_TYPE_ACKALL:
 	case RXRPC_PACKET_TYPE_ACK:
 		/* ACK processing is done in process context */
 		read_lock_bh(&call->state_lock);