HomeFreeBSD

Correctly truncate the rule in case when it has several action opcodes.

Description

Correctly truncate the rule in case when it has several action opcodes.

It is possible, that opcode at the ACTION_PTR() location is not real
action, but action modificator like "log", "tag" etc. In this case we
need to check for each opcode in the loop to find O_EXTERNAL_ACTION.

Obtained from: Yandex LLC
MFC after: 1 week
Sponsored by: Yandex LLC

Details

Committed
aeJul 12 2019, 9:48 AM
Parents
rS349939: Support multiple serial ports per device.
Branches
Unknown
Tags
Unknown