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
  • include
  • net
  • psample.h
Find file BlameHistoryPermalink
  • Adrian Moreno's avatar
    net: psample: fix flag being set in wrong skb · 8341eee8
    Adrian Moreno authored Jul 10, 2024
    
    
    A typo makes PSAMPLE_ATTR_SAMPLE_RATE netlink flag be added to the wrong
    sk_buff.
    
    Fix the error and make the input sk_buff pointer "const" so that it
    doesn't happen again.
    
    Acked-by: default avatarEelco Chaudron <echaudro@redhat.com>
    Fixes: 7b1b2b60
    
     ("net: psample: allow using rate as probability")
    Signed-off-by: default avatarAdrian Moreno <amorenoz@redhat.com>
    Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Reviewed-by: default avatarAntoine Tenart <atenart@kernel.org>
    Link: https://patch.msgid.link/20240710171004.2164034-1-amorenoz@redhat.com
    
    
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    8341eee8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7