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
You need to sign in or sign up before continuing.
  • linux
  • include
  • linux
  • inetdevice.h
Find file BlameHistoryPermalink
  • Jaehee Park's avatar
    net: ipv4: new arp_accept option to accept garp only if in-network · e68c5dcf
    Jaehee Park authored Jul 13, 2022
    
    
    In many deployments, we want the option to not learn a neighbor from
    garp if the src ip is not in the same subnet as an address configured
    on the interface that received the garp message. net.ipv4.arp_accept
    sysctl is currently used to control creation of a neigh from a
    received garp packet. This patch adds a new option '2' to
    net.ipv4.arp_accept which extends option '1' by including the subnet
    check.
    
    Signed-off-by: default avatarJaehee Park <jhpark1013@gmail.com>
    Suggested-by: default avatarRoopa Prabhu <roopa@nvidia.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    e68c5dcf
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7