ucc_geth: fix for RX skb buffers recycling
authorSergey Matyukevich <geomatsi@gmail.com>
Mon, 14 Jun 2010 06:35:20 +0000 (06:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jun 2010 01:14:59 +0000 (18:14 -0700)
commitdb176edc89abbf22e6db6853f8581f9475fe8ec1
treea853cd9273656c704b07cebaa9f25084b7a8c749
parent8b1d920fa5ea8e3d941e908fa57acc9b1df9ca92
ucc_geth: fix for RX skb buffers recycling

This patch implements a proper modification of RX skb buffers before
recycling. Adjusting only skb->data is not enough because after that
skb->tail and skb->len become incorrect.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c