Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
K Kernel
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • RiscOS
  • Sources
  • Kernel
  • Merge requests
  • !57

Closed
Created Sep 24, 2021 by John Ballance@jballanceDeveloper
  • Report abuse
Report abuse

Make OS_SysInfo(4) generated MAC a unicast address

  • Overview 0
  • Commits 1
  • Changes 1

Recent issues on some Pi3 kit in the EtherUSB module showed that the return of OS_SysInfo(4) included the multicast bit (r1 bit 24) set. This is not wise and causes problems with modern internet stacks. If the address is read from the network card, HAL, or generated from the Acorn ID chip the return is untouched. The last ditch is to generate one from the machine random generated ID if it has one. Bit 24 is now clear and bit 25 is now set in the address thus generated. Bit 24 is unicast/multicast. Bit 25 set indicated a locally allocated address rather than a globally allocated one.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: master