patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9441, api_msg: Remove superfluous...


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

patch #9441: api_msg: Remove superfluous NETIF_NO_INDEX checking

Submitted by:  Axel Lin <axellin>
Submitted on:  Thu 24 Aug 2017 02:30:36 AM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Thu 24 Aug 2017 07:00:17 AM UTC, comment #1: 

Correct, thanks!

Dirk Ziegelmeier <dziegel>
Project Administrator
Thu 24 Aug 2017 02:30:36 AM UTC, original submission:  

netif_get_by_index() returns NULL if idx is NETIF_NO_INDEX.
So remove the superfluous NETIF_NO_INDEX checking for msg->msg.jl.if_idx before calling netif_get_by_index().

Axel Lin <axellin>
Project Member


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 axellin (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-24 dziegel StatusNone => Done
        Open/ClosedOpen => Closed
    2017-08-24 axellin Attached File- => Added 0001-api_msg-Remove-superfluous-NETIF_NO_INDEX-checking.patch, #41639

    Back to the top

    Powered by Savane 3.5