Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-x86
  • Repository
Switch branch/tag
  • ipipe-x86
  • net
  • sctp
  • socket.c
Find file BlameHistoryPermalink
  • Xin Long's avatar
    sctp: change sk state to CLOSED instead of CLOSING in sctp_sock_migrate · 141ddefc
    Xin Long authored Jun 16, 2016
    Commit d46e416c ("sctp: sctp should change socket state when
    shutdown is received") may set sk_state CLOSING in sctp_sock_migrate,
    but inet_accept doesn't allow the sk_state other than ESTABLISHED/
    CLOSED for sctp. So we will change sk_state to CLOSED, instead of
    CLOSING, as actually sk is closed already there.
    
    Fixes: d46e416c
    
     ("sctp: sctp should change socket state when shutdown is received")
    Reported-by: default avatarYe Xiaolong <xiaolong.ye@intel.com>
    Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    141ddefc

Imprint & Privacy Policy