Page MenuHomeFreeBSD

sfxge(4): get max supported value for action MARK
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 11:11 PM
Unknown Object (File)
Mon, Jan 6, 6:09 PM
Unknown Object (File)
Nov 20 2024, 10:24 PM
Unknown Object (File)
Oct 19 2024, 3:51 AM
Unknown Object (File)
Sep 30 2024, 4:49 AM
Unknown Object (File)
Sep 30 2024, 12:33 AM
Unknown Object (File)
Sep 27 2024, 12:35 PM
Unknown Object (File)
Sep 26 2024, 12:03 PM
Subscribers

Details

Summary

The mark value for MATCH_ACTION_MARK has a maximum value.
Requesting a value larger than the maximum will cause the
filter insertion to fail with EINVAL. This patch allows the
driver to check the value at the filter validation.

Submitted by: Roman Zhukov <roman.zhukov at oktetlabs.ru>
Sponsored by: Solarflare Communications, Inc.

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21098
Build 20461: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 29 2018, 6:46 AM
This revision was automatically updated to reflect the committed changes.