From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WBsyZ-00004w-OC for barebox@lists.infradead.org; Fri, 07 Feb 2014 21:28:47 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Fri, 7 Feb 2014 22:28:05 +0100 Message-Id: <1391808493-27328-3-git-send-email-u.kleine-koenig@pengutronix.de> In-Reply-To: <1391808493-27328-1-git-send-email-u.kleine-koenig@pengutronix.de> References: <1391808493-27328-1-git-send-email-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 03/11] nfs: skip over stale rpc packets To: barebox@lists.infradead.org V2hlbiBhIGZvcm1lciB0cmFuc2FjdGlvbiB3YXMgYWJvcnRlZCBieSBoaXR0aW5nIEN0cmwtQyB0 aGUgb2xkIHJlcGx5IG1pZ2h0CnN0aWxsIGhhbmcgaW4gdGhlIGV0aGVybmV0IGNvbnRyb2xsZXIg bWFraW5nIGFsbCBmdXJ0aGVyIHRyYW5zYWN0aW9ucyBmYWlsLgoKU28ganVzdCBza2lwIG92ZXIg b2xkIHJlcGxpZXMuCgpTaWduZWQtb2ZmLWJ5OiBVd2UgS2xlaW5lLUvDtm5pZyA8dS5rbGVpbmUt a29lbmlnQHBlbmd1dHJvbml4LmRlPgotLS0KCk5vdGVzOgogICAgQ2hhbmdlZCBpbiB2MjoKICAg ICAtIHVzZQogICAgCWlmIChycGNfaWQgLSBudG9obChycGMuaWQpID09IDEpCiAgICAgICBpbnN0 ZWFkIG9mCiAgICAJaWYgKG50b2hsKHJwYy5pZCkgPCBycGNfaWQpCi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