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
  • net
  • switchdev
  • switchdev.c
Find file BlameHistoryPermalink
  • Vivien Didelot's avatar
    net: switchdev: ignore unsupported bridge flags · 5c8079d0
    Vivien Didelot authored Jun 23, 2015
    switchdev_port_bridge_getlink() queries SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS
    attributes, but a driver doesn't need to implement this in order to get
    bridge link information.
    
    So error out only on errors different than -EOPNOTSUPP.
    
    (This is a follow-up patch for 7d4f8d87.)
    
    Fixes: 8793d0a6
    
     ("switchdev: add new switchdev_port_bridge_getlink")
    Signed-off-by: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
    Acked-by: default avatarJiri Pirko <jiri@resnulli.us>
    Acked-by: default avatarScott Feldman <sfeldma@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5c8079d0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7