commit | f7ff19871bb4a3451e1ca2cf660bf633018cfbec | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Sat Oct 22 03:29:53 2011 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 22 03:29:53 2011 -0400 |
tree | ffbbfd627d08f90774be98ad8c0e33fb4f732974 | |
parent | 580043a27da2bd8201ee321a0d5550c629fcab8d [diff] |
tg3: fix tigon3_dma_hwbug_workaround() 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>