From: Jon Mason Date: Sat, 19 Jan 2013 09:02:27 +0000 (-0700) Subject: NTB: Out of free receive entries issue X-Git-Tag: v3.9-rc1~124^2~45 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=448c6fb3a39bf4d0b644f5b942b7aa9473b0f597;p=pandora-kernel.git NTB: Out of free receive entries issue If the NTB client driver enqueues the maximum number of rx buffers, it will not be able to re-enqueue another in its callback handler due to a lack of free entries. This can be avoided by adding the current entry to the free queue prior to calling the client callback handler. With this change, ntb_netdev will no longer encounter a rx error on its first packet. Signed-off-by: Jon Mason Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed