Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-de
  • Repository
Switch branch/tag
  • linux-de
  • net
  • bridge
  • br_forward.c
Find file BlameHistoryPermalink
  • Eric Dumazet's avatar
    bridge: fix potential crash in __netdev_pick_tx() · a7d35f9d
    Eric Dumazet authored Jul 09, 2015
    Commit c29390c6 ("xps: must clear sender_cpu before forwarding")
    fixed an issue in normal forward path, caused by sender_cpu & napi_id
    skb fields being an union.
    
    Bridge is another point where skb can be forwarded, so we need
    the same cure.
    
    Bug triggers if packet was received on a NIC using skb_mark_napi_id()
    
    Fixes: 2bd82484
    
     ("xps: fix xps for stacked devices")
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    Reported-by: default avatarBob Liu <bob.liu@oracle.com>
    Tested-by: default avatarBob Liu <bob.liu@oracle.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    a7d35f9d