patchlwIP - A Lightweight TCP/IP stack - Patches: patch #8207, Don't Use ND6 Prefix Flags Field...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8207: Don't Use ND6 Prefix Flags Field When LWIP_IPV6_AUTOCONFIG Is Deasserted

Submitter:  Grant Erickson <marathon96>
Submitted:  Tue 08 Oct 2013 04:24:59 PM UTC
   
 
Category:  IPv6 Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Fri 06 Mar 2015 08:03:45 PM UTC, comment #1: 

Fixed, thanks for the patch.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 08 Oct 2013 04:24:59 PM UTC, original submission:  

From 04c51e03bae47ef0b12f87ad7617370d23a5a620 Mon Sep 17 00:00:00 2001
From: Grant Erickson <marathon96@gmail.com>
Date: Tue, 8 Oct 2013 09:30:53 -0700
Subject: [PATCH] Ensure that nd6_prefix_list_entry.flags is not used when
 LWIP_IPV6_AUTOCONFIG is deasserted.

---
 src/core/ipv6/nd6.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/core/ipv6/nd6.c b/src/core/ipv6/nd6.c
index 1a43a37..8c1a78b 100644
--- a/src/core/ipv6/nd6.c
+++ b/src/core/ipv6/nd6.c
@@ -1398,7 +1398,9 @@ nd6_new_onlink_prefix(ip6_addr_t prefix, struct netif netif)
       /* Found empty prefix entry. */
       prefix_list[i].netif = netif;
       ip6_addr_set(&(prefix_list[i].prefix), prefix);
+#if LWIP_IPV6_AUTOCONFIG
       prefix_list[i].flags = 0;
+#endif /* LWIP_IPV6_AUTOCONFIG */
       return i;
     }
   }

Grant Erickson <marathon96>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #29331:  ipv6-autoconfig-disable.patch added by marathon96 (808B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by marathon96 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-06 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2013-10-08 marathon96 Attached File- Added ipv6-autoconfig-disable.patch, #29331

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code