lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9441] api_msg: Remove superfluous NETIF_NO_INDEX ch


From: Axel Lin
Subject: [lwip-devel] [patch #9441] api_msg: Remove superfluous NETIF_NO_INDEX checking
Date: Wed, 23 Aug 2017 22:30:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?9441>

                 Summary: api_msg: Remove superfluous NETIF_NO_INDEX checking
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: axellin
            Submitted on: Thu 24 Aug 2017 02:30:36 AM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

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().



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 24 Aug 2017 02:30:38 AM UTC  Name:
0001-api_msg-Remove-superfluous-NETIF_NO_INDEX-checking.patch  Size: 974B  
By: axellin

<http://savannah.nongnu.org/patch/download.php?file_id=41639>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9441>

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




reply via email to

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