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
  • tipc
  • node.c
Find file BlameHistoryPermalink
  • Jon Paul Maloy's avatar
    tipc: make link mtu easily accessible from socket · 16e166b8
    Jon Paul Maloy authored Jun 25, 2014
    
    
    Message fragmentation is currently performed at link level, inside
    the protection of node_lock. This potentially binds up the sending
    link structure for a long time, instead of letting it do other tasks,
    such as handle reception of new packets.
    
    In this commit, we make the MTUs of each active link become easily
    accessible from the socket level, i.e., without taking any spinlock
    or dereferencing the target link pointer. This way, we make it possible
    to perform fragmentation in the sending socket, before sending the
    whole fragment chain to the link for transport.
    
    Signed-off-by: default avatarJon Maloy <jon.maloy@ericsson.com>
    Reviewed-by: default avatarErik Hugne <erik.hugne@ericsson.com>
    Reviewed-by: default avatarYing Xue <ying.xue@windriver.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    16e166b8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7