Flow expiry: Send flow exp if the flow's send_exp flag is set

This commit is contained in:
Glen Gibb authored and Mikio Hara committed 2009-06-29 07:04:48 -07:00
1 parent 0b96028bea
commit 500fb599be
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1100,7 +1100,7 @@ dp_send_flow_end(struct datapath *dp, struct sw_flow *flow,
struct sk_buff *skb;
struct nx_flow_end *nfe;
if (!dp->send_flow_end)
if (!dp->send_flow_end && !flow->send_flow_exp)
return 0;
nfe = alloc_openflow_skb(dp, sizeof *nfe, OFPT_VENDOR, 0, &skb);
+1 -1
View File
@@ -735,7 +735,7 @@ dp_send_flow_end(struct datapath *dp, struct sw_flow *flow,
struct ofpbuf *buffer;
struct nx_flow_end *nfe;
if (!dp->send_flow_end) {
if (!dp->send_flow_end && !flow->send_flow_exp) {
return;
}