From: Jeff Kirsher <[email protected]> Date: Fri, 23 Feb 2018 12:39:41 -0800
> From: Emil Tantilov <[email protected]> > > 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]> Applied, thanks Jeff.
