Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-vm
  • 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 and registries
    • Packages and 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-vm
  • Repository
Switch branch/tag
  • linux-vm
  • net
  • ipv6
  • ip6_tunnel.c
Find file BlameHistoryPermalink
  • Oussama Ghorbel's avatar
    ipv6: Allow the MTU of ipip6 tunnel to be set below 1280 · 582442d6
    Oussama Ghorbel authored Oct 03, 2013
    The (inner) MTU of a ipip6 (IPv4-in-IPv6) tunnel cannot be set below 1280, which is the minimum MTU in IPv6.
    However, there should be no IPv6 on the tunnel interface at all, so the IPv6 rules should not apply.
    More info at https://bugzilla.kernel.org/show_bug.cgi?id=15530
    
    
    
    This patch allows to check the minimum MTU for ipv6 tunnel according to these rules:
    -In case the tunnel is configured with ipip6 mode the minimum MTU is 68.
    -In case the tunnel is configured with ip6ip6 or any mode the minimum MTU is 1280.
    
    Signed-off-by: default avatarOussama Ghorbel <ou.ghorbel@gmail.com>
    Acked-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    582442d6