buglwIP - A Lightweight TCP/IP stack - Bugs: bug #25687, netif_add with LWIP_IGMP enabled

 
 

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

bug #25687: netif_add with LWIP_IGMP enabled

Submitted by:  Sam Wong <stswong>
Submitted on:  Mon 23 Feb 2009 08:45:08 PM UTC  
 
Category: IPv4Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Invalid
Privacy: PublicAssigned to: Frédéric Bernon <fbernon>
Open/Closed: ClosedPlanned Release: None
lwIP version: 1.3.0

Mon 23 Feb 2009 11:57:38 PM UTC, comment #1:

netif::flags have to be initialized by your "netif::init" function (same for others flags, like NETIF_FLAG_BROADCAST, NETIF_FLAG_ETHARP, NETIF_FLAG_LINK_UP, ...).

"netif::init" is called by netif_add AFTER most of variables have been initialized :

/* call user specified initialization function for netif */
if (init(netif) != ERR_OK) {
return NULL;
}

Frédéric Bernon <fbernon>
Project MemberIn charge of this item.
Mon 23 Feb 2009 08:45:08 PM UTC, original submission:

Looking at netif_add, it resets netif->flags to 0 at the beginning and reset netif->igmp_mac_filter to NULL. Then it checks if NETIF_FLAG_IGMP is set in netif->flags, if set, call igmp_start. It doesn't seem like igmp_start will ever be called.

Sam Wong <stswong>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by fbernon (Posted a comment)
  • -unavailable- added by stswong (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Feb 2009 08:02:29 PM UTCfbernonAssigned toNone=>fbernon
      Open/ClosedOpen=>Closed
    Mon 23 Feb 2009 11:57:38 PM UTCfbernonStatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1