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
  • core
  • sock.c
Find file BlameHistoryPermalink
  • Arnd Bergmann's avatar
    socket: fix compat SO_RCVTIMEO_NEW/SO_SNDTIMEO_NEW · e6986423
    Arnd Bergmann authored Apr 16, 2019
    It looks like the new socket options only work correctly
    for native execution, but in case of compat mode fall back
    to the old behavior as we ignore the 'old_timeval' flag.
    
    Rework so we treat SO_RCVTIMEO_NEW/SO_SNDTIMEO_NEW the
    same way in compat and native 32-bit mode.
    
    Cc: Deepa Dinamani <deepa.kernel@gmail.com>
    Fixes: a9beb86a
    
     ("sock: Add SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarDeepa Dinamani <deepa.kernel@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e6986423
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7