net/: Fix some incorrect comments that go back for years (but have also been cloned in newer files). The network was once interrupt driver, but now runs on the work queue with a semaphore to enforce mutual exclusion.

This commit is contained in:
Gregory Nutt
2018-06-23 14:09:06 -06:00
parent a0e169ad7b
commit aabdc00e8c
24 changed files with 98 additions and 138 deletions
+5 -4
View File
@@ -189,13 +189,14 @@ static inline bool ipfwd_addrchk(FAR struct forward_s *fwd)
* Name: ipfwd_eventhandler
*
* Description:
* This function is called from the interrupt level to perform the actual
* This function is called with the network locked to perform the actual
* send operation when polled by the lower, device interfacing layer.
*
* Input Parameters:
* dev The structure of the network driver that caused the interrupt
* conn An instance of the forwarding structure cast to void *
* pvpriv An instance of struct forward_s cast to void*
* dev The structure of the network driver that generated the
* event
* conn An instance of the forwarding structure cast to (void *)
* pvpriv An instance of struct forward_s cast to (void *)
* flags Set of events describing why the callback was invoked
*
* Returned Value: