aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2022-11-01 14:39:35 +0200
committerJakub Kicinski <[email protected]>2022-11-02 20:45:23 -0700
commit42e51de97cb449aa7d2aa1638cb5fcd2695b8f98 (patch)
tree6299c109d411603b052c09aac83a59dce94a064d /net/unix/unix_bpf.c
parent3319dbb3e755398f254c3daa04b9030197137efe (diff)
rocker: Avoid unnecessary scheduling of work item
The work item function ofdpa_port_fdb_learn_work() does not do anything when 'OFDPA_OP_FLAG_LEARNED' is not set in the work item's flags. Therefore, do not allocate and do not schedule the work item when the flag is not set. Suggested-by: Vladimir Oltean <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions