[Top][All Lists]

[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


                 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



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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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