diff options
| author | Emil Tantilov <[email protected]> | 2018-02-23 12:39:41 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-02-26 13:44:24 -0500 |
| commit | 0c5661ecc5dd7ce296870a3eb7b62b1b280a5e89 (patch) | |
| tree | 00fc46b9083e605df3f19858fbf66abe6693cf26 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 13a55372b64e00e564a08d785ca87bd9d454ba30 (diff) | |
ixgbe: fix crash in build_skb Rx code path
Add check for build_skb enabled ring in ixgbe_dma_sync_frag().
In that case &skb_shinfo(skb)->frags[0] may not always be set which
can lead to a crash. Instead we derive the page offset from skb->data.
Fixes: 42073d91a214
("ixgbe: Have the CPU take ownership of the buffers sooner")
CC: stable <[email protected]>
Reported-by: Ambarish Soman <[email protected]>
Suggested-by: Alexander Duyck <[email protected]>
Signed-off-by: Emil Tantilov <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions