[libvirt] [TCK] [PATCH] follow reordering of match extensions relative to state match

Eric Blake eblake at redhat.com
Fri Feb 18 15:12:47 UTC 2011


On 02/18/2011 08:04 AM, Stefan Berger wrote:
> On 02/14/2011 02:09 PM, Stefan Berger wrote:
>> On 02/14/2011 11:44 AM, Eric Blake wrote:
>>> On 02/14/2011 08:09 AM, Stefan Berger wrote:
>>>> This patch adjusts the tck test cases following the reordering of the
>>>> match extensions relative to the state match in libvirt.
>>>>
>>>> -RETURN     udp  --  0.0.0.0/0            10.1.2.3            MAC
>>>> 01:02:03:04:05:06 DSCP match 0x22/* udp rule */ udp spts:291:400
>>> Here, there's a space between 0x22 and udp, after you strip the comment.
>>>
>> This is all iptables output and seems to be a problem of iptables
>> sometimes omitting spaces. It looks like a comment rule automatically
>> adds a space after it ...
>>>> dpts:564:1092 state NEW,ESTABLISHED ctdir REPLY
>>>> +RETURN     udp  --  0.0.0.0/0            10.1.2.3            MAC
>>>> 01:02:03:04:05:06 DSCP match 0x22udp spts:291:400 dpts:564:1092 state
>>> But that space is lost here.  Does the libvirt side of the patch need
>>> fixing?
>>>
>> ... while the DSCP match 0x22 forgets to add a space. This is not a
>> libvirt problem.
>>
>>     Stefan
>>
> ACK?

Yes; it matches the latest libvirt release, and as you say, the output
issues is an iptables bug (have you reported it there?).  ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110218/1b1a9bb3/attachment-0001.sig>


More information about the libvir-list mailing list