patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9219, [PATCH] IPv6: Fix compile error of...

 
 

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

patch #9219: [PATCH] IPv6: Fix compile error of ip6_frag.c

Submitter:  Axel Lin <axellin>
Submitted:  Wed 11 Jan 2017 03:12:15 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Wed 11 Jan 2017 03:17:20 PM UTC, comment #2: 

Thanks for the patch!

Dirk Ziegelmeier <dziegel>
Group administrator
Wed 11 Jan 2017 03:15:44 PM UTC, comment #1: 

Ah, quite right! I should enable more compiler warnings, sorry about that.

David van Moolenbroek <dcvmoole>
Wed 11 Jan 2017 03:12:15 PM UTC, original submission:  

Fix below compile error:
../../../../lwip/src/core/ipv6/ip6_frag.c: In function ‘ip6_reass’:
../../../../lwip/src/core/ipv6/ip6_frag.c:533:20: error: declaration of ‘next_pbuf’ shadows a previous local [-Werror=shadow]
       struct pbuf* next_pbuf = iprh->next_pbuf;
                    ^~~~~~~~~
../../../../lwip/src/core/ipv6/ip6_frag.c:272:20: note: shadowed declaration is here
   struct pbuf *q, *next_pbuf;
                    ^~~~~~~~~
cc1: all warnings being treated as errors
../Common.mk:93: recipe for target 'ip6_frag.o' failed
make: * [ip6_frag.o] Error 1

Fixes: 7cedf7ae7133 ("IPv6: fragment reassembly fixes")

Axel Lin <axellin>
Group Member

 

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

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by dcvmoole (Posted a comment)
  • -email is unavailable- added by axellin (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-11 dziegel StatusNone Done
        Open/ClosedOpen Closed
    2017-01-11 axellin Attached File- Added 0001-IPv6-Fix-compile-error-of-ip6_frag.c.patch, #39434

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code