Page MenuHomeFreeBSD

Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process incoming packets in taskqueue context.
ClosedPublic

Authored by hselasky on Feb 18 2020, 4:02 PM.
Tags
None
Referenced Files
F172640663: D23742.id68503.diff
Sat, Sep 19, 9:54 PM
F172640661: D23742.id68487.diff
Sat, Sep 19, 9:54 PM
Unknown Object (File)
Fri, Sep 18, 8:52 PM
Unknown Object (File)
Thu, Sep 17, 8:10 PM
Unknown Object (File)
Wed, Sep 16, 3:28 AM
Unknown Object (File)
Tue, Sep 15, 4:56 PM
Unknown Object (File)
Tue, Sep 15, 4:44 PM
Unknown Object (File)
Tue, Sep 15, 4:41 PM
Subscribers

Details

Summary

This patch extends r357772.

Sponsored by: Mellanox Technologies

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

There is something similar in sys/netpfil/pf/pf.c:880: TASK_INIT(&V_pf_overloadtask, 0, pf_overload_task, curvnet);

Guess that would need to be modified also?

Other than the above, that fixed the panic in dummynet.

This revision is now accepted and ready to land.Feb 18 2020, 4:13 PM

From what I can see "pf_overload_task()" does not send or receive and IP packets, and does not need to run under EPOCH(9).