Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository

Switch branch/tag
  • xcap-capability-linux
  • drivers
  • net
  • macvlan.c
Find file BlameHistoryPermalink
  • Rami Rosen's avatar
    [MACVLAN]: Setting macvlan_handle_frame_hook to NULL when rtnl_link_register() fails. · 52913246
    Rami Rosen authored Jan 31, 2008
    
    
    In drivers/net/macvlan.c, when rtnl_link_register() fails in
    macvlan_init_module(), there is no point to set it (second time in
    this method) to macvlan_handle_frame; macvlan_init_module() will
    return a negative number, so instead this patch sets
    macvlan_handle_frame_hook to NULL.
    Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
    Acked-by: default avatarPatrick McHardy <kaber@trash.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    52913246

Replace macvlan.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.