Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-sp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-sp
  • Repository
Switch branch/tag
  • linux-sp
  • drivers
  • net
  • ethernet
  • dec
  • tulip
  • de2104x.c
Find file BlameHistoryPermalink
  • Moritz Fischer's avatar
    net: ethernet: dec: tulip: Fix length mask in receive length calculation · 33e2b32b
    Moritz Fischer authored Feb 04, 2020
    
    
    The receive frame length calculation uses a wrong mask to calculate the
    length of the received frames.
    
    Per spec table 4-1 the length is contained in the FL (Frame Length)
    field in bits 30:16.
    
    This didn't show up as an issue so far since frames were limited to
    1500 bytes which falls within the 11 bit window.
    Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    33e2b32b