Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108849

lib/tevent - ensure that fd event is skipped on error

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 12.0-U2
    • Component/s: SMB
    • Labels:
      None

      Description

      PR: https://github.com/freenas/ports/pull/928

      If a tevent fd event only has writable flag, and there's a socket
      error returned by kevent, we strip the writable flag and skip the handler
      (normal libtevent behavior). Since this the flag has been stripped
      and the kevent filter removed, explicitly set is_fd_event to false
      to ensure that the event handler is skipped.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                awalker Andrew Walker
                Reporter:
                bugclerk Bug Clerk
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: