svn commit: r223666 - in head: sbin/ipfw sys/netinet
sys/netinet/ipfw
Andrey V. Elsukov
bu7cher at yandex.ru
Fri Jul 1 06:01:49 UTC 2011
On 01.07.2011 9:14, Julian Elischer wrote:
>> The "call" action saves the current rule number in the internal
>> stack and rules processing continues from the first rule with
>> specified number (similar to skipto action). If later a rule with
>> "return" action is encountered, the processing returns to the first
>> rule with number of "call" rule saved in the stack plus one or higher.
>>
>> Submitted by: Vadim Goncharov
>> Discussed by: ipfw@, luigi@
>>
>> Modified:
> what happens if the return target is removed in the meanwhile?
This implementation does not keep pointer to the rule, only rule number.
So return action will work like "skipto <number from the stack + 1>".
If you remove rule with call action it will search first rule with number greater
than it had.
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20110701/ed3138ad/signature.pgp
More information about the svn-src-all
mailing list