Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • net
  • core
  • dev.c
Find file BlameHistoryPermalink
  • Sebastian Andrzej Siewior's avatar
    net/netif_receive_skb_core: Use migrate_disable() · 2b4cd14f
    Sebastian Andrzej Siewior authored Jun 17, 2021
    The preempt disable around do_xdp_generic() has been introduced in
    commit
       bbbe211c ("net: rcu lock and preempt disable missing around generic xdp")
    
    For BPF it is enough to use migrate_disable() and the code was updated
    as it can be seen in commit
       3c58482a
    
     ("bpf: Provide bpf_prog_run_pin_on_cpu() helper")
    
    This is a leftover which was not converted.
    
    Use migrate_disable() before invoking do_xdp_generic().
    
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2b4cd14f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7