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)
Fri, Aug 21, 10:22 PM
Unknown Object (File)
Fri, Aug 21, 2:45 AM
Unknown Object (File)
Tue, Aug 18, 5:01 PM
Unknown Object (File)
Mon, Aug 17, 4:37 PM
Unknown Object (File)
Sun, Aug 16, 9:56 PM
Unknown Object (File)
Sun, Aug 16, 8:24 PM
Unknown Object (File)
Sat, Aug 15, 9:09 PM
Unknown Object (File)
Fri, Aug 14, 7:22 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

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

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.