Skip to content

Please enable kernel option CONFIG_IPV6_ROUTE_INFO #1957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
heppel opened this issue Apr 14, 2017 · 10 comments
Closed

Please enable kernel option CONFIG_IPV6_ROUTE_INFO #1957

heppel opened this issue Apr 14, 2017 · 10 comments
Labels
Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team

Comments

@heppel
Copy link

heppel commented Apr 14, 2017

Hi,

this is a request for enhancement.

Please activate kernel option CONFIG_IPV6_ROUTE_INFO in future Raspbian kernels. Since this option depends on the CONFIG_IPV6_ROUTER_PREF option, that needs to be enabled too.

These options enable the kernel to understand additional "Route Information" options in IPv6 router advertisements. This is very helpful in complicated IPv6 environments.

Please note:

  • These options are set in the default Jessie kernel for x86_64.
  • Default behaviour does NOT change. Changed behaviour has to be enabled via sysctl.
  • Windows accepts these additional routes by default.
  • Additional resources required are minimal and limited to the ipv6 module.

If this is the wrong place for this request, please advise where to post.

Regards,
Heppel

@thediveo
Copy link

+1, I've been hit hard when I noticed that Raspbian Linux kernels don't enable learning via MSRO (more specific IPv6 routes) in Router Advertisements. This is especially bad, as my devices are in a hierarchical network infrastructure, with nodes and multiple nodes at each level, and fully automatic learning. Without MSRO enabled, whenever an upstream router fails, communication within a hierarchy between routers fails too.

@JamesH65
Copy link
Contributor

Do you have any figures for impact on kernel size and performance? Given a limited resources device like the Pi we like to ensure that kernel changes for smaller use cases do not have a detrimental impact.

@JamesH65 JamesH65 added the Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team label May 18, 2017
@heppel
Copy link
Author

heppel commented May 19, 2017

The statically linked part of the kernel is not affected at all.

The ipv6 module should grow by approx. 2 kB. Dynamic data structures are only allocated if the feature is enabled via sysctl. Their size depends on the number of ipv6 routes installed via this feature. A few additional CPU cycles are spent on every ipv6 router advertisement processed by the kernel. This never happens on ipv4-only sites and typically once every few minutes on your average ipv6-enabled site. This can increase to a few packets per second on ipv6-sites using Mobile IPv6 extensions.

@n1kolaa
Copy link

n1kolaa commented May 20, 2017

+1 it shoud got official ipv6 is now more used than 4

@thediveo
Copy link

Limited resources? If these were MCUs as used in automation devices, now these are limited. But a few k, less than ten for improved next hop handling with much improved resilence against default router fails should really worth this memory.

@pelwell
Copy link
Contributor

pelwell commented May 20, 2017 via email

@pelwell
Copy link
Contributor

pelwell commented May 20, 2017

...and they do look accurate - as @heppel said, the size of Image remains unchanged (kernel*.img shrinks by a few bytes) and ipv6.ko expands by 2KB.

@popcornmix
Copy link
Collaborator

Agreed. Added: 39f2896
Will be in next rpi-update kernel.

@thediveo
Copy link

Thank you very much! So it eventually will get into the normal update.

popcornmix added a commit to raspberrypi/firmware that referenced this issue May 26, 2017
kernel: dwc_otg: make periodic scheduling behave properly for FS buses
See: raspberrypi/linux#2020

kernel: HID: usbhid: extend polling interval configuration to joysticks
See: raspberrypi/linux#2036

kernel: clk: bcm2835: Minimise clock jitter for PCM clock
See: raspberrypi/linux#2016

kernel: Add mpu6050 device tree overlay
See: raspberrypi/linux#2031

kernel: config: Add CONFIG_IPV6_SIT_6RD
See: raspberrypi/linux#1598

kernel: config: Add CONFIG_IPV6_ROUTE_INFO
See: raspberrypi/linux#1957
@popcornmix
Copy link
Collaborator

Should be in latest rpi-update kernel.

popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue May 26, 2017
kernel: dwc_otg: make periodic scheduling behave properly for FS buses
See: raspberrypi/linux#2020

kernel: HID: usbhid: extend polling interval configuration to joysticks
See: raspberrypi/linux#2036

kernel: clk: bcm2835: Minimise clock jitter for PCM clock
See: raspberrypi/linux#2016

kernel: Add mpu6050 device tree overlay
See: raspberrypi/linux#2031

kernel: config: Add CONFIG_IPV6_SIT_6RD
See: raspberrypi/linux#1598

kernel: config: Add CONFIG_IPV6_ROUTE_INFO
See: raspberrypi/linux#1957
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team
Projects
None yet
Development

No branches or pull requests

6 participants