diff options
author | Ben Pfaff <blp@nicira.com> | 2011-05-06 11:27:05 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-05-16 13:40:47 -0700 |
commit | d84d4b88d26e3f37ce24f1d3eebe0d70ef264f73 (patch) | |
tree | d53a3f9545711b45ccd43c33bb705767adf695ab /lib/bond.c | |
parent | 5eba3806a3a6e0531297e3cd763e23e8c1355abb (diff) |
Fix incorrect byte order annotations.
These are not actual bugs, just deceptive use of the wrong function or
type.
Found by sparse.
Diffstat (limited to 'lib/bond.c')
-rw-r--r-- | lib/bond.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1384,7 +1384,7 @@ static unsigned int bond_hash_tcp(const struct flow *flow, uint16_t vlan, uint32_t basis) { struct flow hash_flow = *flow; - hash_flow.vlan_tci = vlan; + hash_flow.vlan_tci = htons(vlan); /* The symmetric quality of this hash function is not required, but * flow_hash_symmetric_l4 already exists, and is sufficient for our |