Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-84

af_packet throws a fatal error on EAGAIN

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 16.09
    • None
    • None

      The af_packet driver is throwing a fatal error whenever sendto() receives any error, including EAGAIN, from the kernel.

      Instead it should check for non-fatal errors and count those instead.

      Possibly it should also just count fatal errors (and thus simply drop packets rather than throw up its arms and die on the spot).

            chrisluke Chris Luke
            chrisluke Chris Luke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: