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
  • drivers
  • net
  • netdevsim
  • dev.c
Find file BlameHistoryPermalink
  • YueHaibing's avatar
    netdevsim: Fix build error without CONFIG_INET · d9bd6d27
    YueHaibing authored Aug 20, 2019
    
    
    If CONFIG_INET is not set, building fails:
    
    drivers/net/netdevsim/dev.o: In function `nsim_dev_trap_report_work':
    dev.c:(.text+0x67b): undefined reference to `ip_send_check'
    
    Use ip_fast_csum instead of ip_send_check to avoid
    dependencies on CONFIG_INET.
    
    Reported-by: default avatarHulk Robot <hulkci@huawei.com>
    Fixes: da58f90f
    
     ("netdevsim: Add devlink-trap support")
    Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
    Acked-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
    Reviewed-by: default avatarIdo Schimmel <idosch@mellanox.com>
    Tested-by: default avatarIdo Schimmel <idosch@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d9bd6d27
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7