Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • net
  • wireless
  • rt2x00
  • rt2500usb.c
Find file BlameHistoryPermalink
  • Gertjan van Wingerde's avatar
    rt2x00: Fix double usage of skb->cb in USB RX path. · a26cbc65
    Gertjan van Wingerde authored Jun 06, 2008
    
    
    It is not safe to use the skb->cb area for both the rxd and
    skb_frame_desc data at the same time, while they occupy an overlapping
    piece of memory. This can lead to hard to trace crashes as pointers
    within skb_frame_desc are pointing into nowhere, or the rxd data is
    overwritten with non-sense.
    
    Fix it by copying the rxd to a small buffer on the stack.
    Signed-off-by: default avatarGertjan van Wingerde <gwingerde@kpnplanet.nl>
    Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    a26cbc65

Replace rt2500usb.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.