mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
datapath: Eliminate 'flags' member from odp_flow.
Nothing was productively using the 'flags' member of odp_flow, so this commit removes it. ODPFF_ZERO_TCP_FLAGS isn't used at all (as of the previous commit). ODPFF_EOF has been replaced by a special case of the 'key_len' member. This will go away, too, once AF_NETLINK starts being used. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
@@ -656,7 +656,7 @@ dpif_netdev_flow_from_nlattrs(const struct nlattr *key, uint32_t key_len,
|
||||
}
|
||||
|
||||
static int
|
||||
dpif_netdev_flow_get(const struct dpif *dpif, int flags,
|
||||
dpif_netdev_flow_get(const struct dpif *dpif,
|
||||
const struct nlattr *nl_key, size_t nl_key_len,
|
||||
struct ofpbuf **actionsp, struct dpif_flow_stats *stats)
|
||||
{
|
||||
@@ -681,9 +681,6 @@ dpif_netdev_flow_get(const struct dpif *dpif, int flags,
|
||||
if (actionsp) {
|
||||
*actionsp = ofpbuf_clone_data(flow->actions, flow->actions_len);
|
||||
}
|
||||
if (flags & ODPFF_ZERO_TCP_FLAGS) {
|
||||
flow->tcp_ctl = 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user