Skip to content
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

Network stack cleanup: IPv6 #8721

Closed
tbursztyka opened this issue Jul 4, 2018 · 1 comment
Closed

Network stack cleanup: IPv6 #8721

tbursztyka opened this issue Jul 4, 2018 · 1 comment
Assignees
Labels
area: Networking Enhancement Changes/Updates/Additions to existing features

Comments

@tbursztyka
Copy link
Collaborator

tbursztyka commented Jul 4, 2018

ipv6.c needs cleanup:
. nbr logic should be reworked using sys_slist instead of an array. (and why not putting the code in ipv6_nd.c)
. revise struct net_ipv6_nbr_data: k_delayed_work is an heavy object (40 bytes). Check what has been done in subsys/net/l2/ethernet/arp.c: their, only 1 k_work is being used to handle timeout. Same for pending/addr attributes, check arp_entry recent changes.

icmvp6.c as well:
. use net_ipv6_create/finalize instead of redoing the ipv6 headers there (get rid of setup_ipv6_header)
. use net_frag_linearize() in net_icmpv6_get_<...>_hdr()

declutter using #8723 rules

@tbursztyka tbursztyka mentioned this issue Jul 4, 2018
7 tasks
@tbursztyka tbursztyka added this to the v1.13.0 milestone Jul 4, 2018
@nashif nashif added the Enhancement Changes/Updates/Additions to existing features label Jul 4, 2018
@rveerama1 rveerama1 self-assigned this Aug 2, 2018
@nashif nashif removed this from the v1.13.0 milestone Sep 3, 2018
@rveerama1
Copy link
Collaborator

Most of the issues are addressed already. So closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

3 participants