gianfar: reallocate skb when headroom is not enough for fcb
authorLi Yang <leoli@freescale.com>
Tue, 24 Mar 2009 23:15:33 +0000 (23:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2009 00:21:19 +0000 (17:21 -0700)
commit93c1285c5d92c31f9bcc20355f1e86e95bec165e
treeef24903fe05abdb9796ed4636d3a05f357b5c238
parent8ca51986be0c19c8a48ef8f36568c5a3c2c0ac50
gianfar: reallocate skb when headroom is not enough for fcb

Gianfar uses a hardware header FCB for offloading.  However when used
with bridging or IP forwarding, TX skb might not have enough headroom
for the FCB.  Reallocate skb for such cases.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c