X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif-netdev.c;h=9ad9386916cff8ff1d313f1862944fd403be5e4c;hb=cd527139bbe08729f18112eea5073ffd0f435979;hp=9fc51db0215307802c77d5bf494bb93788935a75;hpb=4347b9b38e75ddb30975039ae95eade9efe5be3e;p=sliver-openvswitch.git diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 9fc51db02..9ad938691 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2151,10 +2151,7 @@ dp_execute_cb(void *aux_, struct ofpbuf *packet, recirc_md.dp_hash = 0; if (act->hash_alg == OVS_RECIRC_HASH_ALG_L4) { - struct flow flow; - - flow_extract(recirc_packet, md, &flow); - recirc_md.dp_hash = flow_hash_symmetric_l4(&flow, + recirc_md.dp_hash = flow_hash_symmetric_l4(aux->key, act->hash_bias); if (!recirc_md.dp_hash) { recirc_md.dp_hash = 1; /* 0 is not valid */