mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
Fix incorrect byte order annotations.
These are not actual bugs, just deceptive use of the wrong function or type. Found by sparse.
This commit is contained in:
@@ -70,7 +70,7 @@ BUILD_ASSERT_DECL(offsetof(struct flow, nd_target) == FLOW_SIG_SIZE - 16);
|
||||
BUILD_ASSERT_DECL(sizeof(((struct flow *)0)->nd_target) == 16);
|
||||
BUILD_ASSERT_DECL(sizeof(struct flow) == FLOW_SIG_SIZE + FLOW_PAD_SIZE);
|
||||
|
||||
int flow_extract(struct ofpbuf *, uint64_t tun_id, uint16_t in_port,
|
||||
int flow_extract(struct ofpbuf *, ovs_be64 tun_id, uint16_t in_port,
|
||||
struct flow *);
|
||||
void flow_extract_stats(const struct flow *flow, struct ofpbuf *packet,
|
||||
struct dpif_flow_stats *);
|
||||
|
Reference in New Issue
Block a user