[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100324.114759.200629461.davem@davemloft.net>
Date: Wed, 24 Mar 2010 11:47:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ben@...footnetworks.com
Cc: netdev@...r.kernel.org
Subject: Re: [RFC PATCH] gianfar: fix undo of reserve()
From: "Ben Menchaca (ben@...footnetworks.com)" <ben@...footnetworks.com>
Date: Wed, 24 Mar 2010 08:05:02 -0700
> From: Ben Menchaca <ben@...footnetworks.com>
>
> Fix undo of reserve() before RX recycle
>
> gfar_new_skb reserve()s space in the SKB to align it. If an error occurs,
> and the skb needs to be returned to the RX recycle queue, the current code
> attempts to reset head, but did not reset tail. This patch remembers the
> alignment amount, and reverses the reserve() when needed.
>
> Signed-off-by: Ben Menchaca <ben@...footnetworks.com>
So, is this tested at least a little bit?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists