Repository navigation
Commit f7ff198
tg3: fix tigon3_dma_hwbug_workaround()
Ari got kernel panics using tg3 NIC, and bisected to 2669069 "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>1 parent 580043a commit f7ff198
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6029 | 6029 | | |
6030 | 6030 | | |
6031 | 6031 | | |
6032 | | - | |
| 6032 | + | |
6033 | 6033 | | |
6034 | 6034 | | |
6035 | 6035 | | |
6036 | 6036 | | |
6037 | | - | |
| 6037 | + | |
6038 | 6038 | | |
6039 | 6039 | | |
6040 | 6040 | | |
| |||
6076 | 6076 | | |
6077 | 6077 | | |
6078 | 6078 | | |
6079 | | - | |
| 6079 | + | |
6080 | 6080 | | |
6081 | 6081 | | |
6082 | 6082 | | |
| |||
6305 | 6305 | | |
6306 | 6306 | | |
6307 | 6307 | | |
6308 | | - | |
| 6308 | + | |
6309 | 6309 | | |
6310 | 6310 | | |
6311 | 6311 | | |
| |||
0 commit comments