Re: [PATCH net V3] openvswitch: fix skb_panic due to the incorrect actions attrlen

2017-08-16 Thread David Miller
From: Liping Zhang Date: Wed, 16 Aug 2017 13:30:07 +0800 > From: Liping Zhang > > For sw_flow_actions, the actions_len only represents the kernel part's > size, and when we dump the actions to the userspace, we will do the > convertions, so it's true size may become bigger than the actions_len.

Re: [PATCH net V3] openvswitch: fix skb_panic due to the incorrect actions attrlen

2017-08-16 Thread Pravin Shelar
On Tue, Aug 15, 2017 at 10:30 PM, Liping Zhang wrote: > From: Liping Zhang > > For sw_flow_actions, the actions_len only represents the kernel part's > size, and when we dump the actions to the userspace, we will do the > convertions, so it's true size may become bigger than the actions_len. > >

[PATCH net V3] openvswitch: fix skb_panic due to the incorrect actions attrlen

2017-08-15 Thread Liping Zhang
From: Liping Zhang For sw_flow_actions, the actions_len only represents the kernel part's size, and when we dump the actions to the userspace, we will do the convertions, so it's true size may become bigger than the actions_len. But unfortunately, for OVS_PACKET_ATTR_ACTIONS, we use the actions_