tg3: fix tigon3_dma_hwbug_workaround()
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 22 Oct 2011 07:29:53 +0000 (03:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Oct 2011 07:29:53 +0000 (03:29 -0400)
Ari got kernel panics using tg3 NIC, and bisected to 2669069aacc9 "tg3:
enable transmit time stamping."

This is because tigon3_dma_hwbug_workaround() might alloc a new skb and
free the original. We panic when skb_tx_timestamp() is called on freed
skb.

Reported-by: Ari Savolainen <ari.m.savolainen@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found