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
  • switchdev.h
Find file BlameHistoryPermalink
  • Vladimir Oltean's avatar
    net: bridge: switchdev: include local flag in FDB notifications · 2c4eca3e
    Vladimir Oltean authored Apr 14, 2021
    As explained in bugfix commit 6ab4c311 ("net: bridge: don't notify
    switchdev for local FDB addresses") as well as in this discussion:
    https://lore.kernel.org/netdev/20210117193009.io3nungdwuzmo5f7@skbuf/
    
    
    
    the switchdev notifiers for FDB entries managed to have a zero-day bug,
    which was that drivers would not know what to do with local FDB entries,
    because they were not told that they are local. The bug fix was to
    simply not notify them of those addresses.
    
    Let us now add the 'is_local' bit to bridge FDB entries, and make all
    drivers ignore these entries by their own choice.
    
    Co-developed-by: default avatarTobias Waldekranz <tobias@waldekranz.com>
    Signed-off-by: default avatarTobias Waldekranz <tobias@waldekranz.com>
    Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
    Reviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
    Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2c4eca3e
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7