mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
net/udp: If the interface index of the device bound to a UDP socket is no longer valid because the device has been unregistered, then un-bind the UDP socket.
This commit is contained in:
@@ -470,7 +470,7 @@ static int automount_interrupt(FAR const struct automount_lower_s *lower,
|
||||
ret = work_cancel(LPWORK, &priv->work);
|
||||
if (ret < 0)
|
||||
{
|
||||
/* NOTE: Currently, work_cancel only returns success */
|
||||
/* NOTE: Probably -ENOENT which means only that work is not queued. */
|
||||
|
||||
ferr("ERROR: Failed to cancel work: %d\n", ret);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user