git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/packet.h: add hash_mac()
[sliver-openvswitch.git]
/
ofproto
/
bond.c
diff --git
a/ofproto/bond.c
b/ofproto/bond.c
index
21201ee
..
6812330
100644
(file)
--- a/
ofproto/bond.c
+++ b/
ofproto/bond.c
@@
-1404,7
+1404,7
@@
bond_link_status_update(struct bond_slave *slave)
static unsigned int
bond_hash_src(const uint8_t mac[ETH_ADDR_LEN], uint16_t vlan, uint32_t basis)
{
- return hash_
3words(hash_bytes(mac, ETH_ADDR_LEN, 0)
, vlan, basis);
+ return hash_
mac(mac
, vlan, basis);
}
static unsigned int