Prev: FW: Linux preempt policy serial port communication
Next: [PATCH] ipc/sem.c: Bugfix for semop() not reporting successful operation
From: Eran Liberty on 29 Jun 2010 12:20 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(a)extricom.com> |