Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-de
  • Repository
  • linux-de
  • drivers
  • net
  • ethernet
  • mellanox
  • mlxsw
  • spectrum.c
Find file BlameHistoryPermalink
  • Ido Schimmel's avatar
    mlxsw: spectrum: Handle VLAN device unlinking · e149113a
    Ido Schimmel authored Dec 19, 2018
    In commit 993107fe
    
     ("mlxsw: spectrum_switchdev: Fix VLAN device
    deletion via ioctl") I fixed a bug caused by the fact that the driver
    views differently the deletion of a VLAN device when it is deleted via
    an ioctl and netlink.
    
    Instead of relying on a specific order of events (device being
    unregistered vs. VLAN filter being updated), simply make sure that the
    driver performs the necessary cleanup when the VLAN device is unlinked,
    which always happens before the other two events.
    
    Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
    Reviewed-by: default avatarPetr Machata <petrm@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e149113a