Re: [PATCH] Add mask option for qos_flows miss parameter

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 01 Nov 2011 15:22:02 +1300

 On Mon, 31 Oct 2011 23:33:47 +0000, Andrew Beverley wrote:
> Hi,
>
> The attached patch adds a mask option to the qos_flows miss
> configuration value. The reason for this is to allow the preserved
> mark/TOS value from the server to be altered slightly rather than
> overwritten completely.
>
> Example usage. The following will preserve the netfilter mark, but
> will
> ensure that the (9th) bit specified in the miss value will be set to
> 1
> in the preserved mark:
>
> qos_flows mark miss=0x100/0xF00
>
> Andy

 +1. Looks fine.

 I'm not sure the bad mask needs to be fatal. It could be set to default
 mask after the error. If you agree that can be altered on commit and
 this go in now.

 Amos
Received on Tue Nov 01 2011 - 02:22:07 MDT

This archive was generated by hypermail 2.2.0 : Tue Nov 01 2011 - 12:00:10 MDT