Message ID | 1405296842-3910-1-git-send-email-pshelar@nicira.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index 2b11473..5920512 100644 --- a/net/openvswitch/actions.c +++ b/net/openvswitch/actions.c @@ -624,10 +624,13 @@ static int do_execute_actions(struct datapath *dp, struct sk_buff *skb, break; } - if (!last_action(a, rem)) + if (!last_action(a, rem)) { recirc_skb = skb_clone(skb, GFP_ATOMIC); - else + if (!recirc_skb) + return 0; + } else { recirc_skb = skb; + } __this_cpu_inc(net_xmit_recursion); err = execute_recirc(dp, recirc_skb, a);