Re: [RFC net-next 18/22] openvswitch: Make tunnel set action attach a metadata dst

2015-07-14 Thread Thomas Graf
On 07/13/15 at 03:55pm, Joe Stringer wrote: > It doesn't look like flow_free() is using this new function to > properly free the actions. Also, some of the error cases that hit this > code have sf_acts=NULL. Good catch. Will fix in next iteration. -- To unsubscribe from this list: send the line "u

Re: [RFC net-next 18/22] openvswitch: Make tunnel set action attach a metadata dst

2015-07-13 Thread Joe Stringer
Hi Thomas, On 10 July 2015 at 07:19, Thomas Graf wrote: > diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c > index ecfa530..05fe46b 100644 > --- a/net/openvswitch/flow_netlink.c > +++ b/net/openvswitch/flow_netlink.c > @@ -1548,11 +1548,45 @@ static struct sw_flow_acti

[RFC net-next 18/22] openvswitch: Make tunnel set action attach a metadata dst

2015-07-10 Thread Thomas Graf
Utilize the new metadata dst to attach encapsulation instructions to the skb. The existing egress_tun_info via the OVS_CB() is left in place until all tunnel vports have been converted to the new method. Signed-off-by: Thomas Graf Signed-off-by: Pravin B Shelar --- net/openvswitch/actions.c