Flow expiry: Send flow exp if the flow's send_exp flag is set
This commit is contained in:
1 parent
0b96028bea
commit
500fb599be
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user