Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • include
  • linux
  • filter.h
Find file BlameHistoryPermalink
  • Daniel Borkmann's avatar
    bpf: cleanup bpf_prog_run_{save,clear}_cb helpers · 01dd194c
    Daniel Borkmann authored Jan 06, 2016
    Move the details behind the cb[] access into a small helper to decouple
    and make them generic for bpf_prog_run_save_cb()/bpf_prog_run_clear_cb()
    that was introduced via commit ff936a04
    
     ("bpf: fix cb access in socket
    filter programs"). Also add a comment to better clarify what is done in
    bpf_skb_cb().
    
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    01dd194c