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
  • kernel
  • bpf
  • devmap.c
Find file BlameHistoryPermalink
  • Toke Hoiland-Jorgensen's avatar
    bpf: generalise tail call map compatibility check · f45d5b6c
    Toke Hoiland-Jorgensen authored Jan 21, 2022
    
    
    The check for tail call map compatibility ensures that tail calls only
    happen between maps of the same type. To ensure backwards compatibility for
    XDP frags we need a similar type of check for cpumap and devmap
    programs, so move the state from bpf_array_aux into bpf_map, add
    xdp_has_frags to the check, and apply the same check to cpumap and devmap.
    
    Acked-by: default avatarJohn Fastabend <john.fastabend@gmail.com>
    Co-developed-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
    Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
    Signed-off-by: default avatarToke Hoiland-Jorgensen <toke@redhat.com>
    Link: https://lore.kernel.org/r/f19fd97c0328a39927f3ad03e1ca6b43fd53cdfd.1642758637.git.lorenzo@kernel.org
    
    
    Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
    f45d5b6c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7