Skip to contentSkip to conversation

ovs datapath complains on unexpected mask for netlink commands

DISCUSSION Jesse Gross 2 participants 3 messages Dec 1, 2014 – Dec 3, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Or Gerlitz

Hi Jesse,

I am running with net-next as of commit 2ad7bf36 "ipvlan: Initial check-in [...]"
and user-space OVS v2.0.90 built from the upstream git.

Quoted 8 lines

I suddenly realized that my kernel logs gets filled with the below prints which effectively take place for each ovs-vsctl command I run...

openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)

Thanks I see the problem. It looks like Pravin just sent out a patch to fix this issue last night - "[PATCH net] openvswitch: Fix flow mask validation.".

#2 lore raw
Quoted 16 lines · Jesse Gross
Quoted 6 lines · Or Gerlitz

Hi Jesse,

I am running with net-next as of commit 2ad7bf36 "ipvlan: Initial check-in [...]"
and user-space OVS v2.0.90 built from the upstream git.

Quoted 8 lines

I suddenly realized that my kernel logs gets filled with the below prints which effectively take place for each ovs-vsctl command I run...

openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)

Quoted 3 lines

Thanks I see the problem. It looks like Pravin just sent out a patch to fix this issue last night - "[PATCH net] openvswitch: Fix flow mask validation.".

I see, now (I know the patch wasn't applied yet) on my net clone, the complaint is a bit different...

openvswitch: netlink: Contain more than allowed mask fields (mask_attrs=1205c, mask_allowed=19805c).
openvswitch: netlink: Contain more than allowed mask fields (mask_attrs=19a05c, mask_allowed=19805c).

so same fix for that too?

#3 lore raw
Quoted 24 lines · Or Gerlitz
Quoted 16 lines · Jesse Gross
Quoted 6 lines · Or Gerlitz

Hi Jesse,

I am running with net-next as of commit 2ad7bf36 "ipvlan: Initial check-in [...]"
and user-space OVS v2.0.90 built from the upstream git.

Quoted 8 lines

I suddenly realized that my kernel logs gets filled with the below prints which effectively take place for each ovs-vsctl command I run...

openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)
openvswitch: netlink: Unexpected mask (mask=1205c, allowed=19805c)

Quoted 3 lines

Thanks I see the problem. It looks like Pravin just sent out a patch to fix this issue last night - "[PATCH net] openvswitch: Fix flow mask validation.".

I see, now (I know the patch wasn't applied yet) on my net clone, the complaint is a bit different...

Quoted 6 lines

openvswitch: netlink: Contain more than allowed mask fields (mask_attrs=1205c, mask_allowed=19805c).
openvswitch: netlink: Contain more than allowed mask fields (mask_attrs=19a05c, mask_allowed=19805c).

so same fix for that too?

It's the same problem, only the text string was changed in the meantime.