From: David Howells <dhowells@redhat.com>
Date: Mon, 28 Feb 2011 03:27:43 +0000 (+0000)
Subject: AF_RXRPC: Handle receiving ACKALL packets
X-Git-Tag: v2.6.38-rc8~29^2~3
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=10003453479ef287a73f8a39593f8f42687ea565;p=users%2Fjedix%2Flinux-maple.git

AF_RXRPC: Handle receiving ACKALL packets

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c
index 89315009bab1..1a2b0633fece 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);