[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C2A1D32.1040501@extricom.com>
Date: Tue, 29 Jun 2010 19:20:02 +0300
From: Eran Liberty <liberty@...ricom.com>
To: David Miller <davem@...emloft.net>
CC: galak@...nel.crashing.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] gainfar.c : code cleanup
This patch relates to "[PATCH] gainfar.c : skb_over_panic
(kernel-2.6.32.15)"
While in 2.6.32.15 it actually fixed a bug here it merely cleans up the
previous attempts to fix the bug with a more coherent code.
Currently before queuing skb into the rx_recycle it is
"un-skb_reserve"-ed so when taken out in gfar_new_skb() it wont be
reserved twice.
This patch makes sure the alignment skb_reserve is done once, upon
allocating the skb and
not when taken out of the rx_recycle pool. Eliminating the need to undo
anything before queue skb back to the pool.
NOTE: This patch will compile and is fairly straight forward but I do
not have environment to test it as I did with the 2.6.32.15 fix.
-- Liberty
Signed-off-by: Eran Liberty <liberty@...ricom.com>
View attachment "gianfar_skb_over_panic-linus.patch" of type "text/x-diff" (3026 bytes)
Powered by blists - more mailing lists