Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository

Switch branch/tag
  • xcap-capability-linux
  • net
  • ipv4
  • ip_gre.c
Find file BlameHistoryPermalink
  • Isaku Yamahata's avatar
    ipv4/ip_gre: set transport header correctly to gre header · 861aa6d5
    Isaku Yamahata authored Dec 24, 2012
    
    
    ipgre_tunnel_xmit() incorrectly sets transport header to inner payload
    instead of GRE header. It seems copy-and-pasted from ipip.c.
    So set transport header to gre header.
    (In ipip case the transport header is the inner ip header, so that's
    correct.)
    
    Found by inspection. In practice the incorrect transport header
    doesn't matter because the skb usually is sent to another net_device
    or socket, so the transport header isn't referenced.
    Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    861aa6d5

Replace ip_gre.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.