From: Eli Cohen Date: Mon, 5 Jun 2006 16:51:36 +0000 (-0700) Subject: IPoIB: Fix AH leak at interface down X-Git-Tag: v2.6.17-rc6~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959eb39297e8c82f61fbfc283ad4ff11c883bf1e;p=pandora-kernel.git IPoIB: Fix AH leak at interface down When ipoib_stop() is called it first calls netif_stop_queue() to stop the kernel from passing more packets to the network driver. However, the completion handler may call netif_wake_queue() re-enabling packet transfer. This might result in leaks (we see AH leaks which we think can be attributed to this bug) as new packets get posted while the interface is going down. Signed-off-by: Eli Cohen Signed-off-by: Michael Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed