lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #46093] Move IP6_ROUTE() hook to after LL processing


From: Ivan Delamer
Subject: [lwip-devel] [bug #46093] Move IP6_ROUTE() hook to after LL processing
Date: Thu, 01 Oct 2015 15:28:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0

URL:
  <http://savannah.nongnu.org/bugs/?46093>

                 Summary: Move IP6_ROUTE() hook to after LL processing
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: idelamer
            Submitted on: Thu 01 Oct 2015 09:28:32 AM MDT
                Category: IPv6
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: idelamer
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 1.5.0
            lwIP version: git head

    _______________________________________________________

Details:

ip6_route() starts with a call to LWIP_HOOK_IP6_ROUTE() if defined.

However, this is done before checking if the destination is a link-local
address, or an address that matches a configured subnet.

It seems that it would make more sense to have the hook just before the call
to nd6_select_router(), after the LL and local subnet processing. 

This way, the hook function can work on remote addresses and doesn't need to
duplicate the logic for local addresses.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?46093>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]