Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C can-isotp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Oliver Hartkopp
  • can-isotp
  • Merge requests
  • !52

Added MSG_PEEK to the allowed flags check in isotp_recvmsg function

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/derek-will/add-back-support-for-MSG_PEEK into master Mar 27, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: derek-will

To be able to get the size of the buffer to allocate for the next message without removing the message from the receive queue, the caller needs to be able to set the flags to MSG_PEEK | MSG_TRUNC.

This patch restores the ability of the caller to set the MSG_PEEK flag in a call to recv which was accidentally removed while adding support for the MSG_TRUNC flag in this commit.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/derek-will/add-back-support-for-MSG_PEEK