summaryrefslogtreecommitdiffstats
path: root/samples/blackfin
diff options
context:
space:
mode:
authorEmil Tantilov2018-02-23 21:39:41 +0100
committerDavid S. Miller2018-02-26 19:44:24 +0100
commit0c5661ecc5dd7ce296870a3eb7b62b1b280a5e89 (patch)
tree00fc46b9083e605df3f19858fbf66abe6693cf26 /samples/blackfin
parentARM: orion5x: Revert commit 4904dbda41c8. (diff)
downloadkernel-qcow2-linux-0c5661ecc5dd7ce296870a3eb7b62b1b280a5e89.tar.gz
kernel-qcow2-linux-0c5661ecc5dd7ce296870a3eb7b62b1b280a5e89.tar.xz
kernel-qcow2-linux-0c5661ecc5dd7ce296870a3eb7b62b1b280a5e89.zip
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 <stable@vger.kernel.org> Reported-by: Ambarish Soman <asoman@redhat.com> Suggested-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/blackfin')
0 files changed, 0 insertions, 0 deletions